aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cut.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-01 16:43:01 -0600
committerRob Landley <rob@landley.net>2015-03-01 16:43:01 -0600
commit5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd (patch)
treeba1a4312963a9392b92980bce3acd7240d6c780c /toys/posix/cut.c
parenteb4b1143b1f54a96002a83ea961d40d3169e1ae2 (diff)
downloadtoybox-5f1f34ae1a227edbb4b0bba7fe99009d4efd94bd.tar.gz
Fix several printf_format warnings.
Diffstat (limited to 'toys/posix/cut.c')
-rw-r--r--toys/posix/cut.c2
1 files changed, 1 insertions, 1 deletions
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);