From d3a435e53c94ec25b4ae5fa2614f49ef8884e08a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 5 Jan 2016 22:26:58 -0600 Subject: Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts. --- toys/lsb/mknod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/lsb/mknod.c') diff --git a/toys/lsb/mknod.c b/toys/lsb/mknod.c index 39073fad..1a467b01 100644 --- a/toys/lsb/mknod.c +++ b/toys/lsb/mknod.c @@ -54,5 +54,5 @@ void mknod_main(void) if (-1 == lsm_set_create(TT.arg_context)) perror_exit("-Z '%s' failed", TT.arg_context); if (mknod(*toys.optargs, mode|modes[type], makedev(major, minor))) - perror_exit("%s", *toys.optargs); + perror_exit_raw(*toys.optargs); } -- cgit v1.2.3