summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-04-03 17:32:50 +0000
committerxsa <xsa@openbsd.org>2005-04-03 17:32:50 +0000
commitc24047097b7c4a4d26e97f5a05c484fe89b170f0 (patch)
treea736d5f96be981c1993deb19ff6cdf90430cbeab /usr.bin/cvs/diff.c
parentyacc parser (diff)
downloadwireguard-openbsd-c24047097b7c4a4d26e97f5a05c484fe89b170f0.tar.xz
wireguard-openbsd-c24047097b7c4a4d26e97f5a05c484fe89b170f0.zip
first round of EX_* exit codes removal; ok joris@.
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 357c51c54ba..83a84499e13 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.24 2005/03/31 14:57:32 joris Exp $ */
+/* $OpenBSD: diff.c,v 1.25 2005/04/03 17:32:50 xsa Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -359,7 +359,7 @@ cvs_diff_options(char *opt, int argc, char **argv, int *arg)
dap = (struct diff_arg *)malloc(sizeof(*dap));
if (dap == NULL)
- return (EX_DATAERR);
+ return (-1);
dap->date1 = dap->date2 = dap->rev1 = dap->rev2 = NULL;
strlcpy(diffargs, argv[0], sizeof(diffargs));