From: Thomas Hisch Date: Fri, 16 Feb 2007 09:28:41 +0000 (-0800) Subject: [PATCH] ecryptfs: fix forgotten format specifier X-Git-Tag: v2.6.21-rc1~97 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008983d9669b80ac628b6b09ce4d78e75844b294;p=linux-2.6 [PATCH] ecryptfs: fix forgotten format specifier Add format specifier %d for uid in ecryptfs_printk Signed-off-by: Thomas Hisch Cc: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ecryptfs/messaging.c b/fs/ecryptfs/messaging.c index 47d7e7b611..3baf253be9 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)) {