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:
Damien Lespiau
2016-09-12 18:23:03 +01:00
parent f01a9f4081
commit 6f73ec97e3
+1 -1
View File
@@ -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;
}