summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/release.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-27 15:26:39 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-27 15:26:39 +0000
commit71bcfb9f51df6ee8fd8f1417284d7acff7766b63 (patch)
tree1adc300d9a3af4c34a6da63c6c47883a5dcac9e2 /usr.bin/cvs/release.c
parente71ab9c7ba5f6d6db9958b7cfacab4645e895ea9 (diff)
more errors handling cleanup;
Diffstat (limited to 'usr.bin/cvs/release.c')
-rw-r--r--usr.bin/cvs/release.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/release.c b/usr.bin/cvs/release.c
index 0779c859d5f..21aa4abb231 100644
--- a/usr.bin/cvs/release.c
+++ b/usr.bin/cvs/release.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: release.c,v 1.30 2006/01/27 12:45:21 xsa Exp $ */
+/* $OpenBSD: release.c,v 1.31 2006/01/27 15:26:38 xsa Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
* All rights reserved.
@@ -169,7 +169,7 @@ cvs_release_dir(CVSFILE *cf, void *arg)
l = snprintf(updcmd, sizeof(updcmd), "%s %s %s update",
__progname, UPDCMD_FLAGS, root->cr_str);
if (l == -1 || l >= (int)sizeof(updcmd))
- return (CVS_EX_DATA);
+ fatal("cvs_release_dir: `cvs update' command string overflow");
/* XXX we should try to avoid a new connection ... */
cvs_log(LP_TRACE, "cvs_release_dir() popen(%s,r)", updcmd);