=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/rcs.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- src/usr.bin/cvs/rcs.c 2005/09/29 20:44:58 1.68 +++ src/usr.bin/cvs/rcs.c 2005/09/29 20:47:34 1.69 @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.68 2005/09/29 20:44:58 moritz Exp $ */ +/* $OpenBSD: rcs.c,v 1.69 2005/09/29 20:47:34 moritz Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -707,7 +707,7 @@ if (!rcs_sym_check(sym)) { rcs_errno = RCS_ERR_BADSYM; - return (NULL); + return (-1); } /* first look for duplication */ @@ -760,7 +760,7 @@ if (!rcs_sym_check(sym)) { rcs_errno = RCS_ERR_BADSYM; - return (NULL); + return (-1); } TAILQ_FOREACH(symp, &(file->rf_symbols), rs_list)