diff options
Diffstat (limited to 'lib/igt_kmod.c')
-rw-r--r-- | lib/igt_kmod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c index 22c26021..91662eb3 100644 --- a/lib/igt_kmod.c +++ b/lib/igt_kmod.c @@ -86,6 +86,7 @@ static struct kmod_ctx *kmod_ctx(void) p = config_paths_str; for (i = 0; i < count; ++i) { + igt_assert(p != NULL); config_paths[i] = p; if ((p = strchr(p, ':'))) |