diff options
-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 32762743ddf..a68cedaa698 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.4 1997/12/15 22:44:50 brian Exp $ + * $Id: command.c,v 1.5 1997/12/15 22:50:20 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 a19ca4e1e07..78c3dcaef5a 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.1 1997/11/23 20:27:36 brian Exp $ + * $Id: systems.c,v 1.2 1997/12/15 22:50:21 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) { |