diff options
author | Rob Landley <rob@landley.net> | 2018-11-19 10:54:26 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-11-19 10:54:26 -0600 |
commit | 3d4219014ae5f5a6553423994ff5ccd1d490a6fc (patch) | |
tree | 1be5bf5d1c054d8f385a1d9dd109513641b52f4a /toys/pending/fsck.c | |
parent | 503e6362290d56bce0ed71f8164f24e25108bbbc (diff) | |
download | toybox-3d4219014ae5f5a6553423994ff5ccd1d490a6fc.tar.gz |
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.
Diffstat (limited to 'toys/pending/fsck.c')
-rw-r--r-- | toys/pending/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<i;j++) free(args[i]); free(args); return; |