summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-27 13:45:17 +0000
committerDenis Vlasenko2007-01-27 13:45:17 +0000
commit434ad5456b0468e469c9da140871121f87a1377b (patch)
treec7ee764e3171e0fae54712f63cb541f3c94c59d2 /libbb
parente0eebc1ef3816bd75988021376a368dfe19470c5 (diff)
downloadbusybox-434ad5456b0468e469c9da140871121f87a1377b.zip
busybox-434ad5456b0468e469c9da140871121f87a1377b.tar.gz
fix warning in find.c
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
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);