diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
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); |