diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-03-10 21:42:58 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-14 02:47:11 +0100 |
commit | d35a7fb6f36509a53e8b36d4eca03cef9d2c20db (patch) | |
tree | efefd55ccde80c3c69520388619fcfc026e04923 /lib | |
parent | 6c870953c563c69c7e833637fec292e291511b45 (diff) | |
download | pacman-d35a7fb6f36509a53e8b36d4eca03cef9d2c20db.tar.gz pacman-d35a7fb6f36509a53e8b36d4eca03cef9d2c20db.tar.xz |
alpm/remove.c: add newlines to debug output
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 0642e04a..d0cd613c 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -278,7 +278,7 @@ static int dir_is_mountpoint(alpm_handle_t *handle, const char *directory, struct stat dir_stbuf; if(stat(directory, &dir_stbuf) < 0) { _alpm_log(handle, ALPM_LOG_DEBUG, - "failed to stat directory %s: %s", + "failed to stat directory %s: %s\n", directory, strerror(errno)); return 0; } @@ -290,7 +290,7 @@ static int dir_is_mountpoint(alpm_handle_t *handle, const char *directory, snprintf(parent_dir, PATH_MAX, "%s..", directory); if(stat(parent_dir, &parent_stbuf) < 0) { _alpm_log(handle, ALPM_LOG_DEBUG, - "failed to stat parent of %s: %s: %s", + "failed to stat parent of %s: %s: %s\n", directory, parent_dir, strerror(errno)); return 0; } |