Artfical
Security Intelligence
Türkçe
English
Deutsch
Français
Español
Русский
العربية
中文
日本語
한국어
Português
Italiano
فارسی
हिन्दी
Nederlands
Polski
Українська
Ελληνικά
Azərbaycan
Svenska
Indonesia
Tiếng Việt
ภาษาไทย
Română
Čeština
Magyar
עברית
Suomi
Norsk
Dansk
← Commit list
7710250e4
Denys Vlasenko
2022-12-13
SUCCESS
Duration: 311s
Subject
libbb: shrink del_loop()
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
—
Build Log
(log yok)
Commit Diff
GitHub →
libbb/loop.c
+1
-1
libbb/loop.c
+1
-1
@@ -71,7 +71,7 @@ int FAST_FUNC del_loop(const char *device)
fd = open(device, O_RDONLY);
if (fd < 0)
-
return 1;
+
return fd; /* -1 */
rc = ioctl(fd, LOOP_CLR_FD, 0);
close(fd);