diff options
Diffstat (limited to 'libbb')
-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 4d85b1181..f7300a6d9 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -568,7 +568,7 @@ void xlisten(int s, int backlog) | |||
568 | } | 568 | } |
569 | 569 | ||
570 | // xstat() - a stat() which dies on failure with meaningful error message | 570 | // xstat() - a stat() which dies on failure with meaningful error message |
571 | void xstat(char *name, struct stat *stat_buf) | 571 | void xstat(const char *name, struct stat *stat_buf) |
572 | { | 572 | { |
573 | if (stat(name, stat_buf)) | 573 | if (stat(name, stat_buf)) |
574 | bb_perror_msg_and_die("can't stat '%s'", name); | 574 | bb_perror_msg_and_die("can't stat '%s'", name); |