mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 22:25:19 +07:00
main: fix uninitialized variable
This commit is contained in:
parent
e564a98237
commit
b809bd0940
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user