Skip to content

Commit 008983d

Browse files
twmrLinus Torvalds
authored andcommitted
[PATCH] ecryptfs: fix forgotten format specifier
Add format specifier %d for uid in ecryptfs_printk Signed-off-by: Thomas Hisch <t.hisch@gmail.com> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent eb95e7f commit 008983d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎fs/ecryptfs/messaging.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ int ecryptfs_process_helo(unsigned int transport, uid_t uid, pid_t pid)
169169
if (!new_id) {
170170
rc = -ENOMEM;
171171
ecryptfs_printk(KERN_ERR, "Failed to allocate memory; unable "
172-
"to register daemon [%d] for user\n", pid, uid);
172+
"to register daemon [%d] for user [%d]\n",
173+
pid, uid);
173174
goto unlock;
174175
}
175176
if (!ecryptfs_find_daemon_id(uid, &old_id)) {

0 commit comments

Comments
 (0)