summaryrefslogtreecommitdiffstats
path: root/cddl/Makefile.inc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-04-17 21:08:15 +0000
committerjilles <jilles@FreeBSD.org>2013-04-17 21:08:15 +0000
commitf83f35001e2b029d79877a70ee9b9032887f68e7 (patch)
tree6da12e9b345215ad4581d9cfec73a4dd0cb98b77 /cddl/Makefile.inc
parentfc3fc9c0367891aa532b658cfbbd708ba83351bf (diff)
downloadFreeBSD-src-f83f35001e2b029d79877a70ee9b9032887f68e7.zip
FreeBSD-src-f83f35001e2b029d79877a70ee9b9032887f68e7.tar.gz
pututxline: Don't set errno=0 in subfunctions.
The functions utx_active_add(), utx_active_remove(), utx_lastlogin_add() and utx_log_add() set errno to 0 if they are successful. This not only violates POSIX if pututxline() is successful, but may also overwrite a valid error with 0 if, for example, utx_lastlogin_add() fails while utx_log_add() succeeds. Reviewed by: ed
Diffstat (limited to 'cddl/Makefile.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud