summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-07-01 21:09:36 +0000
committerreyk <reyk@openbsd.org>2006-07-01 21:09:36 +0000
commit22d7ba201e5d86971ad0d3a0d08c3bb1eae07535 (patch)
treeb2f2b62f6f7349103d6af2051d1be37196053c74
parentprint the product name and type of the HP AB287A PCI-X Xframe variant. (diff)
downloadwireguard-openbsd-22d7ba201e5d86971ad0d3a0d08c3bb1eae07535.tar.xz
wireguard-openbsd-22d7ba201e5d86971ad0d3a0d08c3bb1eae07535.zip
to be correct, cvs update -p is the "print" and not the "dump" flag.
suggested by deraadt@, ok joris@
-rw-r--r--usr.bin/cvs/update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index d5955e3fa28..dfbd8fd8526 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.76 2006/07/01 20:30:46 reyk Exp $ */
+/* $OpenBSD: update.c,v 1.77 2006/07/01 21:09:36 reyk Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -23,7 +23,7 @@
int cvs_update(int, char **);
int prune_dirs = 0;
-int dump = 0;
+int print = 0;
int build_dirs = 0;
int reset_stickies = 0;
static char *tag = NULL;
@@ -78,7 +78,7 @@ cvs_update(int argc, char **argv)
prune_dirs = 1;
break;
case 'p':
- dump = 1;
+ print = 1;
break;
case 'Q':
case 'q':
@@ -274,7 +274,7 @@ cvs_update_local(struct cvs_file *cf)
cf->file_rcsrev = rcs_head_get(cf->file_rcs);
}
- if (dump && cf->file_status != FILE_UNKNOWN) {
+ if (print && cf->file_status != FILE_UNKNOWN) {
bp = rcs_getrev(cf->file_rcs, cf->file_rcsrev);
if (bp == NULL)
fatal("cvs_update_local: failed to get HEAD");