diff options
author | wiz <wiz> | 2011-11-13 23:56:17 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-11-13 23:56:17 +0000 |
commit | 563bdcda9addf8579de7d5c64ce1afdd98512a41 (patch) | |
tree | 5ce4adb94e1fab72af0e468cc784a8c2bf5e42f6 /net/fetch | |
parent | 9bb7fad2791ce5a7820dc3eed0c79a9257cce741 (diff) | |
download | pkgsrc-563bdcda9addf8579de7d5c64ce1afdd98512a41.tar.gz |
Be clearer where we failed, if we do.
"von mir aus" joerg
Diffstat (limited to 'net/fetch')
-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"); |