diff options
author | Daniel Mack <daniel@zonque.org> | 2015-06-11 13:10:39 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-06-11 16:49:24 +0200 |
commit | 78d298bbc57e412574ea35e6e66f562d97fd9ebc (patch) | |
tree | 6275db6994b6c416127d1380460692d8f2ae5931 /src/core/selinux-setup.c | |
parent | 512b85af26a68a41a441e1b0489932a96a6f757a (diff) |
kmod-setup: don't print warning on -ENOSYS
-ENOSYS is returned from kmod_module_probe_insert_module() if a module isn't
available, not -ENOENT. Don't spit out a warning in that case unless the
warn_if_unavailable flag is set.
Also factor out the condition into an own variable for better readability.
Diffstat (limited to 'src/core/selinux-setup.c')
0 files changed, 0 insertions, 0 deletions