freebsd-dev/sbin/sysctl
Bruce Evans 6b6b665bfd When we return from a "show" function without printing anything except
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
2007-06-11 13:02:15 +00:00
..
Makefile style.Makefile(5): 2004-02-23 20:25:27 +00:00
sysctl.8 -mdoc sweep. 2005-11-18 10:36:29 +00:00
sysctl.c When we return from a "show" function without printing anything except 2007-06-11 13:02:15 +00:00