fix warning in find.c

This commit is contained in:
Denis Vlasenko
2007-01-27 13:45:17 +00:00
parent e0eebc1ef3
commit 434ad5456b
3 changed files with 6 additions and 6 deletions

View File

@@ -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);