We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145dc0a commit ef87c84Copy full SHA for ef87c84
src/pstore/pstore.c
@@ -227,7 +227,9 @@ static int process_dmesg_files(PStoreList *list) {
227
if (!startswith(pe->dirent.d_name, "dmesg-"))
228
continue;
229
230
- if ((p = startswith(pe->dirent.d_name, "dmesg-efi-"))) {
+ /* The linux kernel changed the prefix from dmesg-efi- to dmesg-efi_pstore-
231
+ * so now we have to handle both cases. */
232
+ if ((p = STARTSWITH_SET(pe->dirent.d_name, "dmesg-efi-", "dmesg-efi_pstore-"))) {
233
/* For the EFI backend, the 3 least significant digits of record id encodes a
234
* "count" number, the next 2 least significant digits for the dmesg part
235
* (chunk) number, and the remaining digits as the timestamp. See
0 commit comments