← Commit list

04e458d43

Denis Vlasenko
Denis Vlasenko
2008-08-31
FAILED Duration: 31s

Subject

insmod: fix detection of open failure

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 →

modutils/insmod.c+1 -1
@@ -4275,7 +4275,7 @@ static int insmod_ng_main(int argc UNUSED_PARAM, char **argv)
}
#else
len = MAXINT(ssize_t);
- map = xmalloc_open_read_close(filename, &len);
+ map = xmalloc_xopen_read_close(filename, &len);
#endif
if (init_module(map, len, options) != 0)