mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
[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>
This commit is contained in:
parent
eb95e7ffa5
commit
008983d966
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue