summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-09-29 21:38:02 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-09-29 21:38:02 +0000
commit70c7320255a66c220897ede33f23605f44e9881a (patch)
treeb0751ec511a4b0675543b5136c21207e8b15554a /usr.bin/rcs/rcsprog.c
parentbb12c089e70b86ad1fc937ec2da7e065bdc2ab0d (diff)
minor knf
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 219f024f949..a1e1ae8a5e8 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.12 2005/09/29 21:30:10 joris Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.13 2005/09/29 21:38:01 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) {
+ if (verbose != 0) {
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)
+ if (verbose != 0)
printf("done\n");
}