diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-18 07:22:24 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-07-18 07:22:24 +0000 |
commit | 6f7f437e12cbf37d7a1453583db66d8de993a0c1 (patch) | |
tree | 9b068ff6777a612c644b1b6c9aeee10c9591618b /usr.bin | |
parent | 81bd93144291aa98cea262e6eaf25cbf0e47ea37 (diff) |
be consistent w/ warning messages (and handle -Q);
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/admin.c | 5 | ||||
-rw-r--r-- | usr.bin/cvs/tag.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c index d273b3baa60..f08b2962e79 100644 --- a/usr.bin/cvs/admin.c +++ b/usr.bin/cvs/admin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: admin.c,v 1.20 2005/07/14 06:50:50 xsa Exp $ */ +/* $OpenBSD: admin.c,v 1.21 2005/07/18 07:22:23 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005 Joris Vink <joris@openbsd.org> @@ -367,7 +367,8 @@ cvs_admin_local(CVSFILE *cf, void *arg) } if (cf->cf_cvstat == CVS_FST_UNKNOWN) { - cvs_log(LP_WARN, "I know nothing about %s", fpath); + if (verbosity > 1) + cvs_log(LP_WARN, "nothing known about %s", cf->cf_name); return (0); } diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c index 6ffa80dee58..3fd936e0405 100644 --- a/usr.bin/cvs/tag.c +++ b/usr.bin/cvs/tag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tag.c,v 1.25 2005/07/14 06:50:50 xsa Exp $ */ +/* $OpenBSD: tag.c,v 1.26 2005/07/18 07:22:23 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2004 Joris Vink <joris@openbsd.org> @@ -258,7 +258,8 @@ cvs_tag_local(CVSFILE *cf, void *arg) } if (cf->cf_cvstat == CVS_FST_UNKNOWN) { - cvs_log(LP_WARN, "I know nothing about %s", fpath); + if (verbosity > 1) + cvs_log(LP_WARN, "nothing known about %s", fpath); return (0); } |