From 21fe6632227f1351a227ce8ac7de1fdea654c5b8 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 20 Jun 2013 16:04:26 +0200 Subject: [PATCH] fix invalid path in extroot exit path Signed-off-by: John Crispin --- mount_root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount_root.c b/mount_root.c index de78539..96d1007 100644 --- a/mount_root.c +++ b/mount_root.c @@ -539,7 +539,7 @@ static int extroot(void) umount("/tmp/overlay"); } else if (fopivot("/overlay", "/rom")) { ERROR("switching to extroot failed - continue normal boot\n"); - umount("overlay"); + umount("/overlay"); } else { return 0; } -- 2.30.2