summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 83a84499e13..371ac0c53a6 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.25 2005/04/03 17:32:50 xsa Exp $ */
+/* $OpenBSD: diff.c,v 1.26 2005/04/11 17:56:27 joris Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -407,7 +407,7 @@ cvs_diff_options(char *opt, int argc, char **argv, int *arg)
cvs_log(LP_ERR,
"no more than two revisions/dates can "
"be specified");
- return (EX_USAGE);
+ return (1);
}
break;
case 'u':
@@ -415,7 +415,7 @@ cvs_diff_options(char *opt, int argc, char **argv, int *arg)
format = D_UNIFIED;
break;
default:
- return (EX_USAGE);
+ return (1);
}
}