From: Thomas Hisch Add format specifier %d for uid in ecryptfs_printk Signed-off-by: Thomas Hisch Cc: Michael Halcrow Signed-off-by: Andrew Morton --- fs/ecryptfs/messaging.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN fs/ecryptfs/messaging.c~ecryptfs-fix-forgotten-format-specifier fs/ecryptfs/messaging.c --- a/fs/ecryptfs/messaging.c~ecryptfs-fix-forgotten-format-specifier +++ a/fs/ecryptfs/messaging.c @@ -169,7 +169,8 @@ int ecryptfs_process_helo(unsigned int t 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)) { _