Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix misuage of pkg_emit_errorno
Baptiste Daroussin committed 12 years ago
commit ab199ee3d5c46ac20e6ba997a6cb5f9a441c0691
parent 4de43a0
1 file changed +1 -1
modified libpkg/pkg_elf.c
@@ -242,7 +242,7 @@ analyse_elf(struct pkg *pkg, const char *fpath,
	int fd;

	if (lstat(fpath, &sb) != 0)
-
		pkg_emit_errno("fstat() failed for %s", fpath);
+
		pkg_emit_errno("fstat() failed for", fpath);
	/* ignore empty files and non regular files */
	if (sb.st_size == 0 || !S_ISREG(sb.st_mode))
		return (EPKG_END); /* Empty file or sym-link: no results */