From 6f73ec97e39499692eedbc8c37b7053167059c94 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 12 Sep 2016 14:22:50 +0100 Subject: [PATCH] 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 --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index 9c98b37..56bd8fd 100644 --- a/src/init.c +++ b/src/init.c @@ -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; }