]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
kmod_lookup_alias_from_alias_bin: debug message for mmap case.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 10 Dec 2011 11:28:42 +0000 (09:28 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 10 Dec 2011 11:28:42 +0000 (09:28 -0200)
libkmod/libkmod.c

index a41517e6911822b2672075f917b8339e16de09b2..8e4209d983f88e7ce962c560f5c2b8e52e3c184f 100644 (file)
@@ -363,6 +363,8 @@ static int kmod_lookup_alias_from_alias_bin(struct kmod_ctx *ctx,
        struct index_value *realnames, *realname;
 
        if (ctx->indexes[index_number] != NULL) {
+               DBG(ctx, "use mmaped index '%s' for name=%s\n",
+                       index_files[index_number], name);
                realnames = index_mm_searchwild(ctx->indexes[index_number],
                                                                        name);
        } else{