HomeFreeBSD

Remove extraneous setutxent() calls in write(1).

Description

Remove extraneous setutxent() calls in write(1).

We already call setutxent() once during initialization. Furthermore,
the subsequent calls occur after the process has entered capability
mode, so they fail, and attempts to fetch database entries fail as
a result.

PR: 235096
Submitted by: fullermd@over-yonder.net
MFC after: 3 days

Details

Provenance
markjAuthored on
Parents
rS343353: Correct uma_prealloc()'s use of domainset iterators after r339925.
Branches
Unknown
Tags
Unknown