]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-module: convert return value from system() to errno
authorTopi Miettinen <toiwoton@gmail.com>
Mon, 23 Dec 2019 16:58:13 +0000 (18:58 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 30 Dec 2019 00:13:35 +0000 (16:13 -0800)
commit81dbf2bee644ef035d054e2101fceea86c50e07d
treee85e6959dc38e6e89965ead3a3eaabcd1b591974
parente7e2cb61fa9f1db3429d91ef6accff549500d268
libkmod-module: convert return value from system() to errno

Don't use exit status of a command directly as errno code, callers
will be confused.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
libkmod/libkmod-module.c