aboutsummaryrefslogtreecommitdiffstats
path: root/src/jailcheck
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-11 15:15:47 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-14 16:52:49 -0300
commit874cf79422f168c4c583645b41227ec57aefda2e (patch)
tree5b9e2f90b54383d01089a26dd052e3a87eb8fecb /src/jailcheck
parentStandardize version output (diff)
downloadfirejail-874cf79422f168c4c583645b41227ec57aefda2e.tar.gz
firejail-874cf79422f168c4c583645b41227ec57aefda2e.tar.zst
firejail-874cf79422f168c4c583645b41227ec57aefda2e.zip
Standardize usage string var declarations
Changes: * Name them all "usage_str" * Make them const For the latter item, see commit eb20f52ef ("Make list of paths const to fix a false positive of gcc analyzer", 2022-07-27) / PR #5275.
Diffstat (limited to 'src/jailcheck')
-rw-r--r--src/jailcheck/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jailcheck/main.c b/src/jailcheck/main.c
index e30ffb274..27da309ea 100644
--- a/src/jailcheck/main.c
+++ b/src/jailcheck/main.c
@@ -29,7 +29,7 @@ char *user_home_dir = NULL;
29char *user_run_dir = NULL; 29char *user_run_dir = NULL;
30int arg_debug = 0; 30int arg_debug = 0;
31 31
32static char *usage_str = 32static const char *const usage_str =
33 "Usage: jailcheck [options] directory [directory]\n\n" 33 "Usage: jailcheck [options] directory [directory]\n\n"
34 "Options:\n" 34 "Options:\n"
35 " --debug - print debug messages.\n" 35 " --debug - print debug messages.\n"