projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e564a98
)
main: fix uninitialized variable
author
Michal Schmidt
<mschmidt@redhat.com>
Wed, 9 May 2012 09:20:06 +0000
(11:20 +0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Wed, 9 May 2012 09:20:35 +0000
(11:20 +0200)
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index
be9d0a6
..
8c25819
100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-1185,7
+1185,7
@@
static int do_switch_root(const char *switch_root) {
}
if (chroot(".") < 0)
- log_warning("Failed to change root, ignoring: %
s", strerror(-r)
);
+ log_warning("Failed to change root, ignoring: %
m"
);
/* FIXME: remove old root */