Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix error message when failing
Baptiste Daroussin committed 9 years ago
commit a2b040c5dc0fc128339da5cbb425cbcf6d5f4f6b
parent 2085a3e
1 file changed +1 -1
modified libpkg/pkg_add.c
@@ -547,7 +547,7 @@ retry:
	} else {
		while ((len = read(fromfd, buf, sizeof(buf))) > 0)
			if (write(fd, buf, len) == -1) {
-
				pkg_errno("%s", "Fail to write file: %s");
+
				pkg_errno("Fail to write file: %s", f->temppath);
			}
	}
	if (fd != -1) {