summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-09-29 21:38:49 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-09-29 21:38:49 +0000
commit88c35a23d906e30efe01770a599b2f241c82b342 (patch)
tree75437f86d6c40d57e126e19a54607446483989e2 /usr.bin/rcs/rcsprog.c
parent70c7320255a66c220897ede33f23605f44e9881a (diff)
hrmz..better.
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index a1e1ae8a5e8..b7891ab6e6f 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.13 2005/09/29 21:38:01 xsa Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.14 2005/09/29 21:38:48 xsa Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -85,7 +85,7 @@ rcs_statfile(char *fname, char *out, size_t len)
}
strlcpy(out, fpath, len);
- if (verbose != 0) {
+ if (verbose == 1) {
if (!strcmp(__progname, "co")) {
printf("%s --> ", filev);
if ((s = strrchr(filev, ',')) != NULL) {
@@ -246,7 +246,7 @@ rcs_main(int argc, char **argv)
rcs_close(file);
- if (verbose != 0)
+ if (verbose == 1)
printf("done\n");
}