=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/co.c,v retrieving revision 1.100 retrieving revision 1.101 diff -c -r1.100 -r1.101 *** src/usr.bin/rcs/co.c 2006/11/10 16:31:29 1.100 --- src/usr.bin/rcs/co.c 2007/02/01 18:01:42 1.101 *************** *** 1,4 **** ! /* $OpenBSD: co.c,v 1.100 2006/11/10 16:31:29 millert Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: co.c,v 1.101 2007/02/01 18:01:42 millert Exp $ */ /* * Copyright (c) 2005 Joris Vink * All rights reserved. *************** *** 518,523 **** --- 518,527 ---- if ((bp = rcs_getrev(rfp, frev)) == NULL) { warnx("failed to load revision"); + return (D_ERROR); + } + if ((bp = rcs_kwexp_buf(bp, rfp, frev)) == NULL) { + warnx("failed to expand tags"); return (D_ERROR); }