mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
libkmod: Fix getting param with no value from kcmdline
This commit is contained in:
parent
ea225b982c
commit
493dc650d6
@ -518,7 +518,7 @@ static void kmod_config_free_softdep(struct kmod_config *config,
|
||||
static void kcmdline_parse_result(struct kmod_config *config, char *modname,
|
||||
char *param, char *value)
|
||||
{
|
||||
if (modname == NULL || param == NULL || value == NULL)
|
||||
if (modname == NULL || param == NULL)
|
||||
return;
|
||||
|
||||
DBG(config->ctx, "%s %s\n", modname, param);
|
||||
|
Loading…
Reference in New Issue
Block a user