Fix debug message formatting
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 19 Dec 2011 16:36:23 +0000 (14:36 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 19 Dec 2011 17:06:49 +0000 (15:06 -0200)
libkmod/libkmod-config.c

index 057c093..170d133 100644 (file)
@@ -114,7 +114,7 @@ static int kmod_config_add_command(struct kmod_config *config,
        size_t modnamelen = strlen(modname) + 1;
        size_t commandlen = strlen(command) + 1;
 
-       DBG(config->ctx, "modname'%s' cmd='%s %s'\n", modname, command_name,
+       DBG(config->ctx, "modname='%s' cmd='%s %s'\n", modname, command_name,
                                                                command);
 
        cmd = malloc(sizeof(*cmd) + modnamelen + commandlen);