mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-06 13:41:44 +00:00
init: Fix copy/paste typo in mount error string
The error message should mention devtmpfs and not sysfs in that case. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+1
-1
@@ -1268,7 +1268,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (mount("dev", "/dev", "devtmpfs", MS_NOSUID, NULL) == -1) {
|
||||
perror("mount sysfs failed");
|
||||
perror("mount devtmpfs failed");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user