diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-11 09:18:09 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-09-11 09:18:09 +0000 |
commit | 57b56674a3933dff9dd3df47dbd9009c409181de (patch) | |
tree | 2bf4a07b960bc190927d2926662accbe1ceebd59 /libbb/xstat.c | |
parent | dea6e3d3cf5327b1f6723dd5d15c2e4c7472a0e8 (diff) | |
download | busybox-57b56674a3933dff9dd3df47dbd9009c409181de.tar.gz |
- merge xstat.c into xfuncs.c
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 @@ -/* vi: set sw=4 ts=4: */ -/* - * xstat.c - a stat() which dies on failure with meaningful error message - */ -#include <unistd.h> -#include "libbb.h" - -void xstat(const char *name, struct stat *stat_buf) -{ - if (stat(name, stat_buf)) - bb_perror_msg_and_die("Can't stat '%s'", name); -} |