lkml.org 
[lkml]   [2017]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] seccomp: add missing semicolon
Date
We get a compile error without it, at least in some configurations:

kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input

Fixes: 8e5f1ad116df ("seccomp: Sysctl to display available actions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
kernel/seccomp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index c24579dfa7a1..3eeb2257bd62 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -1218,6 +1218,6 @@ static int __init seccomp_sysctl_init(void)
return 0;
}

-device_initcall(seccomp_sysctl_init)
+device_initcall(seccomp_sysctl_init);

#endif /* CONFIG_SYSCTL */
--
2.9.0
\
 
 \ /
  Last update: 2017-08-23 15:44    [W:0.096 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site