From 3d4219014ae5f5a6553423994ff5ccd1d490a6fc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 19 Nov 2018 10:54:26 -0600 Subject: Eduardas Meile reported "The -Werror=format-security flag is applied by default in Yocto 2.6 Thud release" and identified several error_exit() and friends that should use the _raw versions. --- toys/pending/fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending/fsck.c') diff --git a/toys/pending/fsck.c b/toys/pending/fsck.c index 723f77de..ac00bff7 100644 --- a/toys/pending/fsck.c +++ b/toys/pending/fsck.c @@ -223,7 +223,7 @@ static void do_fsck(struct f_sys_info *finfo) return; } else { if ((pid = fork()) < 0) { - perror_msg(args[0]); + perror_msg_raw(*args); for (j=0;j