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:
5a35f00
)
mnt: strtol -> std::strtol
author
Robert Swiecki
<robert@swiecki.net>
Sun, 11 Feb 2018 22:53:03 +0000
(23:53 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Sun, 11 Feb 2018 22:53:03 +0000
(23:53 +0100)
cmdline.cc
patch
|
blob
|
history
diff --git
a/cmdline.cc
b/cmdline.cc
index 17ed5d7479ba681dcd647bd77fdc4d14c5ebd49e..49be6f035929f94a4f282e643a098b90453add26 100644
(file)
--- a/
cmdline.cc
+++ b/
cmdline.cc
@@
-425,7
+425,7
@@
std::unique_ptr<nsjconf_t> parseArgs(int argc, char* argv[]) {
nsjconf->logfile = optarg;
break;
case 'L':
- nsjconf->logfile = "/dev/fd/" + std::to_string(st
rtol(optarg, NULL,
0));
+ nsjconf->logfile = "/dev/fd/" + std::to_string(st
d::strtol(optarg, NULL, 1
0));
break;
case 'd':
nsjconf->daemonize = true;