diff options
author | 2009-03-23 07:28:05 +0000 | |
---|---|---|
committer | 2009-03-23 07:28:05 +0000 | |
commit | 1489d205350a73df737c036c0c98988645b10f5f (patch) | |
tree | 49d4123798e7a27ae0c5f0d17d913e8ca355ddde /usr.bin/cvs/diff.c | |
parent | wait an appropriate amount of time before giving up on a bulk update, (diff) | |
download | wireguard-openbsd-1489d205350a73df737c036c0c98988645b10f5f.tar.xz wireguard-openbsd-1489d205350a73df737c036c0c98988645b10f5f.zip |
any directory messages are, believe it or not, suppose to go to LP_ERR
instead of LP_NOTICE, while here modify output for non-existing
files to match "? foobar" instead of "cannot find foobar".
makes our output a little less alien and a little bit more gnuish.
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index ab7ff86b857..44aacf04af9 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.146 2009/03/19 10:09:16 joris Exp $ */ +/* $OpenBSD: diff.c,v 1.147 2009/03/23 07:28:05 joris Exp $ */ /* * Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2006 Joris Vink <joris@openbsd.org> @@ -266,7 +266,7 @@ cvs_diff_local(struct cvs_file *cf) if (cf->file_type == CVS_DIR) { if (verbosity > 1) - cvs_log(LP_NOTICE, "Diffing inside %s", cf->file_path); + cvs_log(LP_ERR, "Diffing inside %s", cf->file_path); return; } @@ -306,8 +306,7 @@ cvs_diff_local(struct cvs_file *cf) break; default: if (!(cf->file_flags & FILE_ON_DISK)) { - cvs_log(LP_ERR, "cannot find %s", - cf->file_path); + cvs_printf("? %s\n", cf->file_path); return; } |