From ce6fb3a8ddd4e98fca7237e62afc7545e9b2890f Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 5 Sep 2023 18:09:46 -0300 Subject: build: add missing dbus/x11 commands to arg1 list Fix the list generation and run `make syntax`. Relates to #5627. --- src/firejail/profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/firejail/profile.c b/src/firejail/profile.c index bdaaed433..8cc5c1166 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c @@ -484,7 +484,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { #endif return 0; } - else if (strncmp("dbus-user ", ptr, 10) == 0) { + else if (strncmp(ptr, "dbus-user ", 10) == 0) { #ifdef HAVE_DBUSPROXY ptr += 10; if (strcmp("filter", ptr) == 0) { @@ -551,7 +551,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { #endif return 1; } - else if (strncmp("dbus-system ", ptr, 12) == 0) { + else if (strncmp(ptr, "dbus-system ", 12) == 0) { #ifdef HAVE_DBUSPROXY ptr += 12; if (strcmp("filter", ptr) == 0) { -- cgit v1.2.3-54-g00ecf