projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35b345
)
Make nsjconf initialization from const struct
1.1
author
Jagger
<robert@swiecki.net>
Wed, 2 Mar 2016 01:35:38 +0000
(
02:35
+0100)
committer
Jagger
<robert@swiecki.net>
Wed, 2 Mar 2016 01:35:38 +0000
(
02:35
+0100)
cmdline.c
patch
|
blob
|
history
diff --git
a/cmdline.c
b/cmdline.c
index 4a0530cbd6c445e353a9928879428643122f4414..b2d7e18d62e64abfccbd71174a3b434200961e41 100644
(file)
--- a/
cmdline.c
+++ b/
cmdline.c
@@
-244,7
+244,7
@@
static bool cmdlineParseGid(struct nsjconf_t *nsjconf, char *str)
bool cmdlineParse(int argc, char *argv[], struct nsjconf_t * nsjconf)
{
/* *INDENT-OFF* */
- (*nsjconf) = (struct nsjconf_t) {
+ (*nsjconf) = (
const
struct nsjconf_t) {
.hostname = "NSJAIL",
.cwd = "/",
.chroot = "/",