diff options
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 4 |
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)); |