diff options
author | brian <brian@FreeBSD.org> | 1998-06-16 19:40:42 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-16 19:40:42 +0000 |
commit | 62c1a38e529411578a86f2dadc69bbe7c8984dbb (patch) | |
tree | a4f1e66234a76ec1e4a49b7f33aa4eac262156a7 /usr.sbin/ppp/route.c | |
parent | 798ba6f53e138822c35dd3e9b7e6f22683be6648 (diff) | |
download | FreeBSD-src-62c1a38e529411578a86f2dadc69bbe7c8984dbb.zip FreeBSD-src-62c1a38e529411578a86f2dadc69bbe7c8984dbb.tar.gz |
Change some log levels. ALERTs are only logged when
something that can't happen happens or when everyone
needs to know. ERRORs are only logged when something
unexpected happens.
Diffstat (limited to 'usr.sbin/ppp/route.c')
-rw-r--r-- | usr.sbin/ppp/route.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 328c047..7fd0475 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: route.c,v 1.47 1998/06/15 19:06:23 brian Exp $ + * $Id: route.c,v 1.48 1998/06/15 19:06:55 brian Exp $ * */ @@ -218,7 +218,8 @@ Index2Nam(int idx) mib[5] = 0; if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) { - log_Printf(LogERROR, "Index2Nam: sysctl: estimate: %s\n", strerror(errno)); + log_Printf(LogERROR, "Index2Nam: sysctl: estimate: %s\n", + strerror(errno)); return "???"; } if ((buf = malloc(needed)) == NULL) |