Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-08 11:23:38 -0500
committerDan McGee <dan@archlinux.org>2009-08-08 11:23:38 -0500
commit7bb9c4098b29d7bcc82ff9e9a823d2adc44cc881 (patch)
tree29ecf1b7b8762426bfcf8c1e2b36d8181c0d1605 /lib/libalpm/util.c
parente8806748ec6efdf62fd1210873dc2fd38cccdf2a (diff)
parent6d00025c18e837f57a4f78ee232fe3d8f244f143 (diff)
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index e56efb17..082c095b 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -509,7 +509,7 @@ int _alpm_run_chroot(const char *root, const char *cmd)
umask(0022);
pipe = popen(cmd, "r");
if(!pipe) {
- _alpm_log(PM_LOG_ERROR, _("call to popen failed (%s)"),
+ _alpm_log(PM_LOG_ERROR, _("call to popen failed (%s)\n"),
strerror(errno));
exit(1);
}
@@ -562,7 +562,7 @@ int _alpm_ldconfig(const char *root)
if(access(line, F_OK) == 0) {
snprintf(line, PATH_MAX, "%ssbin/ldconfig", root);
if(access(line, X_OK) == 0) {
- _alpm_run_chroot(root, "ldconfig");
+ _alpm_run_chroot(root, "/sbin/ldconfig");
}
}