diff options
Diffstat (limited to 'libbb/xstat.c')
-rw-r--r-- | libbb/xstat.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libbb/xstat.c b/libbb/xstat.c deleted file mode 100644 index 2a6cc3ed7..000000000 --- a/libbb/xstat.c +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * xstat.c - a stat() which dies on failure with meaningful error message | ||
4 | */ | ||
5 | #include <unistd.h> | ||
6 | #include "libbb.h" | ||
7 | |||
8 | void xstat(const char *name, struct stat *stat_buf) | ||
9 | { | ||
10 | if (stat(name, stat_buf)) | ||
11 | bb_perror_msg_and_die("Can't stat '%s'", name); | ||
12 | } | ||