← Commit list

4e82d9946

Wouter Franken
Wouter Franken
2026-01-26
SUCCESS Duration: 142s

Subject

libbb/loop: fix existence check for LOOP_CONFIGURE ioctl

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

libbb/loop.c+1 -1
@@ -158,7 +158,7 @@ static int set_loopdev_params(int lfd,
if (rc == 0)
return rc; /* SUCCESS! */
# if ENABLE_TRY_LOOP_CONFIGURE
- if (errno != EINVAL)
+ if (errno != EINVAL && errno != ENOTTY)
return rc; /* error other than old kernel */
/* Old kernel, fall through into old way to do it: */
# endif