From 5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 1 Mar 2015 16:43:01 -0600 Subject: Fix several printf_format warnings. --- toys/posix/cut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/cut.c') diff --git a/toys/posix/cut.c b/toys/posix/cut.c index 7f10c5e7..25f25a8d 100644 --- a/toys/posix/cut.c +++ b/toys/posix/cut.c @@ -111,7 +111,7 @@ static void get_data(void) else { int fd = open(*argv, O_RDONLY, 0); if(fd < 0) {//if file not present then continue with other files. - perror_msg(*argv); + perror_msg("%s", *argv); continue; } TT.do_cut(fd); -- cgit v1.2.3