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/2346f99bb2c1
branches:  trunk
changeset: 352531:2346f99bb2c1
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 cfabca9626a9 -r 2346f99bb2c1 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