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:
93abc40
)
Fix dereference in cwd option
author
Jamy Timmermans
<me@jamy.be>
Sat, 7 Nov 2015 12:11:55 +0000
(06:11 -0600)
committer
Jamy Timmermans
<me@jamy.be>
Sat, 7 Nov 2015 12:11:55 +0000
(06:11 -0600)
contain.c
patch
|
blob
|
history
diff --git
a/contain.c
b/contain.c
index 9b893426be5b503aaa05d8d2cc75f9e4a640fbcd..7a90ea8e57c302210ec8ae52f7525780ae448374 100644
(file)
--- a/
contain.c
+++ b/
contain.c
@@
-268,8
+268,8
@@
bool containMountFS(struct nsjconf_t * nsjconf)
return false;
}
- if (chdir(
&
nsjconf->cwd) == -1) {
- PLOG_E("chdir('%s')",
&
nsjconf->cwd);
+ if (chdir(nsjconf->cwd) == -1) {
+ PLOG_E("chdir('%s')", nsjconf->cwd);
return false;
}