diff options
author | brian <brian@FreeBSD.org> | 1997-12-15 20:21:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-15 20:21:47 +0000 |
commit | 71581c314a6e799fd0b1d6d9ae7adba7602b0152 (patch) | |
tree | abdfd71417aaaa5113bf35893e45c2fa20663980 /usr.sbin/ppp | |
parent | 3cf8c7250c4c9be79210620f6abbf4a1db96f258 (diff) | |
download | FreeBSD-src-71581c314a6e799fd0b1d6d9ae7adba7602b0152.zip FreeBSD-src-71581c314a6e799fd0b1d6d9ae7adba7602b0152.tar.gz |
Use LogWARN for command usage messages and unrecognised
commands, not LogCOMMAND.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/command.c | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/systems.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 4268241..2ea309a 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.108 1997/12/08 20:09:10 brian Exp $ + * $Id: command.c,v 1.109 1997/12/13 02:37:21 brian Exp $ * */ #include <sys/param.h> @@ -688,7 +688,7 @@ FindExec(struct cmdtab const *cmds, int argc, char const *const *argv) if (val == -1) LogPrintf(LogWARN, "Usage: %s\n", cmd->syntax); else if (val) - LogPrintf(LogCOMMAND, "%s: Failed %d\n", *argv, val); + LogPrintf(LogWARN, "%s: Failed %d\n", *argv, val); return val; } diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c index 575b8d7..7fe81b3 100644 --- a/usr.sbin/ppp/systems.c +++ b/usr.sbin/ppp/systems.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: systems.c,v 1.27 1997/11/14 15:38:07 brian Exp $ + * $Id: systems.c,v 1.28 1997/11/22 03:37:51 brian Exp $ * * TODO: */ @@ -279,7 +279,7 @@ ReadSystem(const char *name, const char *file, int doexec) return 0; /* got it */ break; default: - LogPrintf(LogCOMMAND, "%s: %s: Invalid command\n", name, cp); + LogPrintf(LogWARN, "%s: %s: Invalid command\n", filename, cp); break; } } else if (strcmp(cp, name) == 0) { |