pam_mount/29d23c4-fix-log-message.diff

27 lines
749 B
Diff

parent af3f78d48b3191f4c452a91c75c95123e4ae28e2 (v2.8-2-gaf3f78d)
commit 29d23c4f429e87d1449309e2e247cd2e47d72120
Author: Jan Engelhardt <jengelh@medozas.de>
Date: Mon Jan 3 01:23:35 2011 +0100
pam_mount: fix printing of log message
---
src/mount.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 22de49d..68926ee 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -293,7 +293,8 @@ static bool mkmountpoint(struct vol *volume, const char *d)
break;
}
w4rn("chown %s -> %ld:%ld\n", dtmp,
- pe->pw_uid, pe->pw_gid);
+ static_cast(long, pe->pw_uid),
+ static_cast(long, pe->pw_gid));
}
HXmc_free(dtmp);
/* restore state: */
--
# Created with git-export-patch