diff options
author | 2023-05-11 15:15:47 -0300 | |
---|---|---|
committer | 2023-05-14 16:52:49 -0300 | |
commit | 874cf79422f168c4c583645b41227ec57aefda2e (patch) | |
tree | 5b9e2f90b54383d01089a26dd052e3a87eb8fecb /src/firecfg | |
parent | Standardize version output (diff) | |
download | firejail-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/firecfg')
-rw-r--r-- | src/firecfg/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index c9dc27b1b..855523e55 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -24,7 +24,7 @@ int arg_debug = 0; | |||
24 | char *arg_bindir = "/usr/local/bin"; | 24 | char *arg_bindir = "/usr/local/bin"; |
25 | int arg_guide = 0; | 25 | int arg_guide = 0; |
26 | 26 | ||
27 | static char *usage_str = | 27 | static const char *const usage_str = |
28 | "Firecfg is the desktop configuration utility for Firejail software. The utility\n" | 28 | "Firecfg is the desktop configuration utility for Firejail software. The utility\n" |
29 | "creates several symbolic links to firejail executable. This allows the user to\n" | 29 | "creates several symbolic links to firejail executable. This allows the user to\n" |
30 | "sandbox applications automatically, just by clicking on a regular desktop\n" | 30 | "sandbox applications automatically, just by clicking on a regular desktop\n" |