projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0f29a
)
mount: fix log format string and indentation
author
Daniel Golle
<daniel@makrotopia.org>
Thu, 15 Oct 2020 23:33:25 +0000
(
00:33
+0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Fri, 16 Oct 2020 00:48:45 +0000
(
01:48
+0100)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libfstools/mount.c
patch
|
blob
|
history
diff --git
a/libfstools/mount.c
b/libfstools/mount.c
index d61a80f32a03f7d7f09543599e7a4b3f1be46b35..c72c26d59704ab137ac9b2a080f4795d03fa7492 100644
(file)
--- a/
libfstools/mount.c
+++ b/
libfstools/mount.c
@@
-121,10
+121,10
@@
fopivot(char *rw_root, char *ro_root)
mkdir(workdir, 0755);
if (stat(upgrade, &st) == 0)
- rename(upgrade, upgrade_dest);
+
rename(upgrade, upgrade_dest);
if (mount(overlay, "/mnt", "overlay", MS_NOATIME, mount_options)) {
- ULOG_ERR("mount failed: %
s, options %m
\n", mount_options);
+ ULOG_ERR("mount failed: %
m, options %s
\n", mount_options);
return -1;
}