diff options
author | 2006-12-05 11:01:05 +0000 | |
---|---|---|
committer | 2006-12-05 11:01:05 +0000 | |
commit | 554ded7ce1b22798a0a22636f263470545568abe (patch) | |
tree | a6f3dc9b89d5fcd870cf1aa2d1b17894a967a323 | |
parent | do not install pmtu routes for transport mode SAs, as they do not (diff) | |
download | wireguard-openbsd-554ded7ce1b22798a0a22636f263470545568abe.tar.xz wireguard-openbsd-554ded7ce1b22798a0a22636f263470545568abe.zip |
rmdir(2) sets errno, use it for error message.
-rw-r--r-- | usr.bin/cvs/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c index 3cb3309ad7c..eb05c8813ac 100644 --- a/usr.bin/cvs/util.c +++ b/usr.bin/cvs/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.92 2006/11/28 14:49:58 xsa Exp $ */ +/* $OpenBSD: util.c,v 1.93 2006/12/05 11:01:05 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org> @@ -497,7 +497,7 @@ cvs_rmdir(const char *path) if (rmdir(path) == -1 && errno != ENOENT) { - cvs_log(LP_ERR, "failed to remove '%s'", path); + cvs_log(LP_ERRNO, "%s", path); goto done; } |