From 434ad5456b0468e469c9da140871121f87a1377b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 27 Jan 2007 13:45:17 +0000 Subject: fix warning in find.c --- libbb/xfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 4d85b11..f7300a6 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -568,7 +568,7 @@ void xlisten(int s, int backlog) } // xstat() - a stat() which dies on failure with meaningful error message -void xstat(char *name, struct stat *stat_buf) +void xstat(const char *name, struct stat *stat_buf) { if (stat(name, stat_buf)) bb_perror_msg_and_die("can't stat '%s'", name); -- cgit v1.1