diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index fad111aa9..177247c6b 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -670,7 +670,7 @@ int ioctl_or_perror(int fd, int request, void *argp, const char *fmt,...) | |||
670 | int bb_ioctl_or_warn(int fd, int request, void *argp, const char *ioctl_name) | 670 | int bb_ioctl_or_warn(int fd, int request, void *argp, const char *ioctl_name) |
671 | { | 671 | { |
672 | int ret; | 672 | int ret; |
673 | 673 | ||
674 | ret = ioctl(fd, request, argp); | 674 | ret = ioctl(fd, request, argp); |
675 | if (ret < 0) | 675 | if (ret < 0) |
676 | bb_perror_msg("%s", ioctl_name); | 676 | bb_perror_msg("%s", ioctl_name); |
@@ -685,7 +685,7 @@ void bb_xioctl(int fd, int request, void *argp, const char *ioctl_name) | |||
685 | int bb_ioctl_or_warn(int fd, int request, void *argp) | 685 | int bb_ioctl_or_warn(int fd, int request, void *argp) |
686 | { | 686 | { |
687 | int ret; | 687 | int ret; |
688 | 688 | ||
689 | ret = ioctl(fd, request, argp); | 689 | ret = ioctl(fd, request, argp); |
690 | if (ret < 0) | 690 | if (ret < 0) |
691 | bb_perror_msg("ioctl %#x failed", request); | 691 | bb_perror_msg("ioctl %#x failed", request); |