iwlwifi: mvm: add missing mvm ref debug print
[firefly-linux-kernel-4.4.55.git] / fs / pstore / inode.c
index 192297b0090da25026bb5ee9b8033b48ccca927e..fafb7a02a5d6c659299ffdd92326a2345d1b3c62 100644 (file)
@@ -320,10 +320,10 @@ int pstore_mkfile(enum pstore_type_id type, char *psname, u64 id, int count,
                                                compressed ? ".enc.z" : "");
                break;
        case PSTORE_TYPE_CONSOLE:
-               sprintf(name, "console-%s", psname);
+               sprintf(name, "console-%s-%lld", psname, id);
                break;
        case PSTORE_TYPE_FTRACE:
-               sprintf(name, "ftrace-%s", psname);
+               sprintf(name, "ftrace-%s-%lld", psname, id);
                break;
        case PSTORE_TYPE_MCE:
                sprintf(name, "mce-%s-%lld", psname, id);