* [PATCH] ecryptfs: fix forgotten format specifier
@ 2007-02-13 11:54 Thomas Hisch
0 siblings, 0 replies; only message in thread
From: Thomas Hisch @ 2007-02-13 11:54 UTC (permalink / raw)
To: linux-kernel
add format specifier %d for uid in ecryptfs_printk
Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
---
fs/ecryptfs/messaging.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/ecryptfs/messaging.c b/fs/ecryptfs/messaging.c
index 47d7e7b..1674d33 100644
--- a/fs/ecryptfs/messaging.c
+++ b/fs/ecryptfs/messaging.c
@@ -169,7 +169,8 @@ int ecryptfs_process_helo(unsigned int transport, uid_t uid, pid_t pid)
if (!new_id) {
rc = -ENOMEM;
ecryptfs_printk(KERN_ERR, "Failed to allocate memory; unable "
- "to register daemon [%d] for user\n", pid, uid);
+ "to register daemon [%d] for user [%d]\n",
+ pid, uid);
goto unlock;
}
if (!ecryptfs_find_daemon_id(uid, &old_id)) {
--
1.5.0.rc3.22.g5057
--
Thomas Hisch
e0625874@stud.tuwien.ac.at
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-13 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-13 11:54 [PATCH] ecryptfs: fix forgotten format specifier Thomas Hisch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).