diff options
author | 2005-06-02 16:05:38 +0000 | |
---|---|---|
committer | 2005-06-02 16:05:38 +0000 | |
commit | f26e8676ab908a555c6b416576245a189f75e6ef (patch) | |
tree | 7ca90c0eed0d6cee1667dadc0d27e282512e06bf /usr.bin/cvs/logmsg.c | |
parent | tweaks, grammar, punctuation, typos (diff) | |
download | wireguard-openbsd-f26e8676ab908a555c6b416576245a189f75e6ef.tar.xz wireguard-openbsd-f26e8676ab908a555c6b416576245a189f75e6ef.zip |
- set LP_ABORT log level when action is abored by user instead of LP_ERR
- missing \n in output of an unchanged log message warning
- always use the command name in error messages instead of aliases
ok jfb@.
Diffstat (limited to 'usr.bin/cvs/logmsg.c')
-rw-r--r-- | usr.bin/cvs/logmsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 7a89b6082bd..e1ac250fbdf 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.14 2005/05/31 08:58:48 xsa Exp $ */ +/* $OpenBSD: logmsg.c,v 1.15 2005/06/02 16:05:38 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -266,7 +266,7 @@ cvs_logmsg_get(const char *dir, struct cvs_flist *added, /* nothing was entered */ fprintf(stderr, - "Log message unchanged or not specified\na)bort, " + "\nLog message unchanged or not specified\na)bort, " "c)ontinue, e)dit, !)reuse this message unchanged " "for remaining dirs\nAction: (continue) "); @@ -280,7 +280,7 @@ cvs_logmsg_get(const char *dir, struct cvs_flist *added, fprintf(stderr, "invalid input\n"); continue; } else if (buf[0] == 'a') { - cvs_log(LP_ERR, "aborted by user"); + cvs_log(LP_ABORT, "aborted by user"); break; } else if ((buf[0] == '\n') || (buf[0] == 'c')) { /* empty message */ |