aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 84281105c..d22cd279a 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -137,7 +137,8 @@ void xwrite(int fd, void *buf, size_t count)
// Die with an error message if we can't lseek to the right spot.
void xlseek(int fd, off_t offset, int whence)
{
- if (offset != lseek(fd, offset, whence)) bb_error_msg_and_die("lseek");
+ if (offset != lseek(fd, offset, whence))
+ bb_error_msg_and_die("lseek");
}
// Die with an error message if we can't read one character.