shared/bootspec: remember the full path to boot entry and use it in logging

It's much easier to understand what is going on when the full path is
logged.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-10-08 17:05:17 +02:00
parent 1b20d88987
commit 2d3bfb6904
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
#include "sd-id128.h"
typedef struct BootEntry {
char *id;
char *id; /* This is the file basename without extension */
char *path; /* This is the full path to the file */
char *title;
char *show_title;
char *version;