diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-06-30 04:32:30 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-06-30 19:25:47 -0400 |
commit | ea504819122a76a236f8b95d1556f807a0a41397 (patch) | |
tree | d741222691d3ab119a76a3ce816f4fd49ffdf872 /security/tomoyo | |
parent | ad599f9cf0187e823bc92bc83f3867a38fa266b9 (diff) |
TOMOYO: Fix wrong domainname in tomoyo_init_log().
Commit eadd99cc "TOMOYO: Add auditing interface." by error replaced
"struct tomoyo_request_info"->domain with tomoyo_domain().
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/audit.c b/security/tomoyo/audit.c index f2c869767d7..967b5648dce 100644 --- a/security/tomoyo/audit.c +++ b/security/tomoyo/audit.c | |||
@@ -69,7 +69,7 @@ char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt, | |||
69 | char *buf = NULL; | 69 | char *buf = NULL; |
70 | const char *header = NULL; | 70 | const char *header = NULL; |
71 | int pos; | 71 | int pos; |
72 | const char *domainname = tomoyo_domain()->domainname->name; | 72 | const char *domainname = r->domain->domainname->name; |
73 | header = tomoyo_print_header(r); | 73 | header = tomoyo_print_header(r); |
74 | if (!header) | 74 | if (!header) |
75 | return NULL; | 75 | return NULL; |