svn commit: trunk/busybox/findutils
vda at busybox.net
vda at busybox.net
Thu Jan 24 01:30:38 UTC 2008
Author: vda
Date: 2008-01-23 17:30:36 -0800 (Wed, 23 Jan 2008)
New Revision: 20891
Log:
grep: fix wrong filename in error message
Modified:
trunk/busybox/findutils/grep.c
Changeset:
Modified: trunk/busybox/findutils/grep.c
===================================================================
--- trunk/busybox/findutils/grep.c 2008-01-23 18:48:26 UTC (rev 20890)
+++ trunk/busybox/findutils/grep.c 2008-01-24 01:30:36 UTC (rev 20891)
@@ -376,7 +376,7 @@
FILE *file = fopen(filename, "r");
if (file == NULL) {
if (!SUPPRESS_ERR_MSGS)
- bb_simple_perror_msg(cur_file);
+ bb_simple_perror_msg(filename);
open_errors = 1;
return 0;
}
More information about the busybox-cvs
mailing list