diff options
| -rw-r--r-- | libbb/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index a0c5d0259..b603d0daa 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
| @@ -158,7 +158,7 @@ static int set_loopdev_params(int lfd, | |||
| 158 | if (rc == 0) | 158 | if (rc == 0) |
| 159 | return rc; /* SUCCESS! */ | 159 | return rc; /* SUCCESS! */ |
| 160 | # if ENABLE_TRY_LOOP_CONFIGURE | 160 | # if ENABLE_TRY_LOOP_CONFIGURE |
| 161 | if (errno != EINVAL) | 161 | if (errno != EINVAL && errno != ENOTTY) |
| 162 | return rc; /* error other than old kernel */ | 162 | return rc; /* error other than old kernel */ |
| 163 | /* Old kernel, fall through into old way to do it: */ | 163 | /* Old kernel, fall through into old way to do it: */ |
| 164 | # endif | 164 | # endif |
