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:
a346634
)
more C++-izations over places #2
author
Robert Swiecki
<robert@swiecki.net>
Sat, 28 Apr 2018 23:15:44 +0000
(
01:15
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Sat, 28 Apr 2018 23:15:44 +0000
(
01:15
+0200)
subproc.cc
patch
|
blob
|
history
diff --git
a/subproc.cc
b/subproc.cc
index 39353815d875f971bcfb07c43c5c77d58d021155..2031ebe6b4e9605d518da1a73ea264c9ba7c8a38 100644
(file)
--- a/
subproc.cc
+++ b/
subproc.cc
@@
-94,8
+94,7
@@
static const std::string cloneFlagsToStr(uintptr_t flags) {
uintptr_t knownFlagMask = CSIGNAL;
for (const auto& f : cloneFlags) {
if (flags & f.flag) {
- res.append(f.name);
- res.append("|");
+ res.append(f.name).append("|");
}
knownFlagMask |= f.flag;
}