diff options
Diffstat (limited to 'src/faudit/seccomp.c')
-rw-r--r-- | src/faudit/seccomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/faudit/seccomp.c b/src/faudit/seccomp.c index 85a883618..5d4ddb329 100644 --- a/src/faudit/seccomp.c +++ b/src/faudit/seccomp.c | |||
@@ -27,8 +27,8 @@ static int extract_seccomp(int *val) { | |||
27 | 27 | ||
28 | char buf[MAXBUF]; | 28 | char buf[MAXBUF]; |
29 | while (fgets(buf, MAXBUF, fp)) { | 29 | while (fgets(buf, MAXBUF, fp)) { |
30 | if (strncmp(buf, "Seccomp:\t", 8) == 0) { | 30 | if (strncmp(buf, "Seccomp:\t", 9) == 0) { |
31 | char *ptr = buf + 8; | 31 | char *ptr = buf + 9; |
32 | int tmp; | 32 | int tmp; |
33 | sscanf(ptr, "%d", &tmp); | 33 | sscanf(ptr, "%d", &tmp); |
34 | *val = tmp; | 34 | *val = tmp; |