summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-10-01 11:58:38 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-10-01 11:58:38 +0000
commit0c97c9d43707da745fe2bc62ab2a69497ceaf666 (patch)
tree267d0feb99f457b68c09315b3f3aebe8dfd6d411 /findutils/find.c
parentd65ea39ffc7503807fa95e8840c012a80c83e4f3 (diff)
downloadbusybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.gz
busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.bz2
busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.zip
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/findutils/find.c b/findutils/find.c
index f3167a083..b61881497 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -277,7 +277,7 @@ ACTF(exec)
277 277
278 rc = spawn_and_wait(argv); 278 rc = spawn_and_wait(argv);
279 if (rc < 0) 279 if (rc < 0)
280 bb_perror_msg("%s", argv[0]); 280 bb_simple_perror_msg(argv[0]);
281 281
282 i = 0; 282 i = 0;
283 while (argv[i]) 283 while (argv[i])
@@ -347,7 +347,7 @@ ACTF(delete)
347 rc = unlink(fileName); 347 rc = unlink(fileName);
348 } 348 }
349 if (rc < 0) 349 if (rc < 0)
350 bb_perror_msg("%s", fileName); 350 bb_simple_perror_msg(fileName);
351 return TRUE; 351 return TRUE;
352} 352}
353#endif 353#endif
@@ -780,7 +780,7 @@ static action*** parse_params(char **argv)
780 ap->context = NULL; 780 ap->context = NULL;
781 /* SELinux headers erroneously declare non-const parameter */ 781 /* SELinux headers erroneously declare non-const parameter */
782 if (selinux_raw_to_trans_context((char*)arg1, &ap->context)) 782 if (selinux_raw_to_trans_context((char*)arg1, &ap->context))
783 bb_perror_msg("%s", arg1); 783 bb_simple_perror_msg(arg1);
784 } 784 }
785#endif 785#endif
786 else { 786 else {