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:
cfdf710
)
mnt: simplify debug message
author
Robert Swiecki
<robert@swiecki.net>
Tue, 30 Oct 2018 00:33:09 +0000
(
01:33
+0100)
committer
Robert Swiecki
<robert@swiecki.net>
Tue, 30 Oct 2018 00:33:09 +0000
(
01:33
+0100)
mnt.cc
patch
|
blob
|
history
diff --git
a/mnt.cc
b/mnt.cc
index 825b2534c9e3e30a2e91c496e80b35989b29f225..5c36490e8a8ecab6c36e1dc0d353667c5b6bd0a5 100644
(file)
--- a/
mnt.cc
+++ b/
mnt.cc
@@
-540,8
+540,8
@@
const std::string describeMountPt(const mount_t& mpt) {
std::string descr;
descr.append("'")
- .append(mpt.src)
- .append("' -> '")
+ .append(mpt.src
.empty() ? "" : mpt.src
)
+ .append(
mpt.src.empty() ? "" :
"' -> '")
.append(mpt.dst)
.append("' flags:'")
.append(flagsToStr(mpt.flags))