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
825b253
..
5c36490
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))