diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/procps.c | 4 | ||||
-rw-r--r-- | libbb/xfuncs.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index 9817a1288..37593700a 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -170,8 +170,8 @@ procps_status_t *procps_scan(procps_status_t* sp, int flags) if (flags & PSSCAN_CONTEXT) { if (getpidcon(sp->pid, &sp->context) < 0) sp->context = NULL; - } -#endif + } +#endif filename_tail = filename + sprintf(filename, "/proc/%d", pid); 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,...) int bb_ioctl_or_warn(int fd, int request, void *argp, const char *ioctl_name) { int ret; - + ret = ioctl(fd, request, argp); if (ret < 0) bb_perror_msg("%s", ioctl_name); @@ -685,7 +685,7 @@ void bb_xioctl(int fd, int request, void *argp, const char *ioctl_name) int bb_ioctl_or_warn(int fd, int request, void *argp) { int ret; - + ret = ioctl(fd, request, argp); if (ret < 0) bb_perror_msg("ioctl %#x failed", request); |