summaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 3baf7b2..d77bf38 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -489,8 +489,8 @@ 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)
{
- if (stat(name, stat_buf))
- bb_perror_msg_and_die("Can't stat '%s'", name);
+ if (stat(name, stat_buf))
+ bb_perror_msg_and_die("Can't stat '%s'", name);
}
#endif