summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-06-02 20:19:31 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-06-02 20:19:31 +0000
commit39e000f21709aa69b5b8a56b4fa87a225ab35e72 (patch)
tree3d199568f0a5e00e6d400df5a68068b2f5fb8ed7 /usr.bin/cvs/util.c
parentad5af1e36e90c554824c209077c6d62c2e24645c (diff)
remove unneeded error reporting when using cvs_path_cat(), the
function does it for us. OK jfb@
Diffstat (limited to 'usr.bin/cvs/util.c')
-rw-r--r--usr.bin/cvs/util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c
index 7fe86db3baf..9e5c1af9ee4 100644
--- a/usr.bin/cvs/util.c
+++ b/usr.bin/cvs/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.31 2005/05/31 08:58:48 xsa Exp $ */
+/* $OpenBSD: util.c,v 1.32 2005/06/02 20:19:30 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -538,8 +538,6 @@ cvs_remove_dir(const char *path)
len = cvs_path_cat(path, ent->d_name, fpath, sizeof(fpath));
if (len >= sizeof(fpath)) {
- errno = ENAMETOOLONG;
- cvs_log(LP_ERRNO, "%s", fpath);
closedir(dirp);
return (-1);
}