Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 008983d9 authored by Thomas Hisch's avatar Thomas Hisch Committed by Linus Torvalds
Browse files

[PATCH] ecryptfs: fix forgotten format specifier



Add format specifier %d for uid in ecryptfs_printk

Signed-off-by: default avatarThomas Hisch <t.hisch@gmail.com>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent eb95e7ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)) {