VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Masami Hiramatsu <mhiramat@kernel.org> 2017-05-18 02:19:31 +0900 committer: Richard Weinberger <richard@nod.at> 2017-07-05 23:18:25 +0200 commit: 0936d4f3d5a3d5daf453bc341f02ba4e68cfe40e parent: 721ccae88d04f7e9334fde4cbb3eecfaa70a31ac
Commit Summary:
um: Use os_warn to print out pre-boot warning/error messages
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/um/os-Linux/execvp.c b/arch/um/os-Linux/execvp.c
index 8fb25ca07c46..84a0777c2a45 100644
--- a/arch/um/os-Linux/execvp.c
+++ b/arch/um/os-Linux/execvp.c
@@ -136,7 +136,7 @@ int main(int argc, char**argv)
 	int ret;
 	argc--;
 	if (!argc) {
-		fprintf(stderr, "Not enough arguments\n");
+		os_warn("Not enough arguments\n");
 		return 1;
 	}
 	argv++;