diff options
author | wiz <wiz@pkgsrc.org> | 2011-11-13 23:56:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-11-13 23:56:17 +0000 |
commit | b391549d421c60082df7fb2bc163446db3955dd7 (patch) | |
tree | 5ce4adb94e1fab72af0e468cc784a8c2bf5e42f6 /net | |
parent | c0d5e08e2b8b0670a48030eb0a5141488eb7bdd7 (diff) | |
download | pkgsrc-b391549d421c60082df7fb2bc163446db3955dd7.tar.gz |
Be clearer where we failed, if we do.
"von mir aus" joerg
Diffstat (limited to 'net')
-rw-r--r-- | net/fetch/files/fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/fetch/files/fetch.c b/net/fetch/files/fetch.c index 6ae1df44a75..68f1b32a4b4 100644 --- a/net/fetch/files/fetch.c +++ b/net/fetch/files/fetch.c @@ -669,11 +669,11 @@ fetch(char *URL, const char *path) goto failure; } if (fchown(fd, sb.st_uid, sb.st_gid) == -1) { - warn("%s: mkstemp failed", tmppath); + warn("%s: fchown failed", tmppath); goto failure; } if (fchmod(fd, sb.st_mode & ALLPERMS) == -1) { - warn("%s: mkstemp failed", tmppath); + warn("%s: fchmod failed", tmppath); goto failure; } of = fdopen(fd, "w"); |