diff options
author | 2007-01-18 09:26:19 +0000 | |
---|---|---|
committer | 2007-01-18 09:26:19 +0000 | |
commit | d5a38fcacfb91c49e1fab4375b9acfde899b4419 (patch) | |
tree | 0b390e5650eb399da491a8c71aa4bd05af362ca9 /usr.bin/cvs | |
parent | put functions protos at the right place. (diff) | |
download | wireguard-openbsd-d5a38fcacfb91c49e1fab4375b9acfde899b4419.tar.xz wireguard-openbsd-d5a38fcacfb91c49e1fab4375b9acfde899b4419.zip |
more informative error msg.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/update.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index e84aebfa696..43496486478 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.86 2007/01/17 17:54:50 joris Exp $ */ +/* $OpenBSD: update.c,v 1.87 2007/01/18 09:26:19 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -151,7 +151,8 @@ cvs_update_enterdir(struct cvs_file *cf) if (cf->file_status == DIR_CREATE && build_dirs == 1) { cvs_mkpath(cf->file_path); if ((cf->fd = open(cf->file_path, O_RDONLY)) == -1) - fatal("cvs_update_enterdir: %s", strerror(errno)); + fatal("cvs_update_enterdir: `%s': %s", + cf->file_path, strerror(errno)); entry = xmalloc(CVS_ENT_MAXLINELEN); l = snprintf(entry, CVS_ENT_MAXLINELEN, "D/%s////", |