diff options
author | wiz <wiz> | 2011-11-13 23:56:17 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-11-13 23:56:17 +0000 |
commit | 834729c0028f66c955133568eb4ff89163e196ab (patch) | |
tree | 5ce4adb94e1fab72af0e468cc784a8c2bf5e42f6 /net/fetch | |
parent | 12e1e34be1dcf5516a172fafcf6ef2d1a3527646 (diff) | |
download | pkgsrc-834729c0028f66c955133568eb4ff89163e196ab.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"); |