Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/dist/src The last stderr message felt lo...



details:   https://anonhg.NetBSD.org/src/rev/99f818bfdd3a
branches:  trunk
changeset: 822782:99f818bfdd3a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 06 14:01:27 2017 +0000

description:
The last stderr message felt lonely and committed suicide.

diffstat:

 external/bsd/dhcpcd/dist/src/if-options.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 87821aea872d -r 99f818bfdd3a external/bsd/dhcpcd/dist/src/if-options.c
--- a/external/bsd/dhcpcd/dist/src/if-options.c Thu Apr 06 14:00:34 2017 +0000
+++ b/external/bsd/dhcpcd/dist/src/if-options.c Thu Apr 06 14:01:27 2017 +0000
@@ -2138,8 +2138,8 @@
                        continue;
 
                if (cf_options[i].has_arg == required_argument && !line) {
-                       fprintf(stderr,
-                           PACKAGE ": option requires an argument -- %s\n",
+                       syslog(LOG_ERR,
+                           PACKAGE ": option requires an argument -- %s",
                            opt);
                        return -1;
                }



Home | Main Index | Thread Index | Old Index