mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: initialise fname to empty string
otherwise, early calls to err_if make use of a NULL string inside err() Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -44,7 +44,7 @@ uint16_t mac[3] = {0, 0, 0};
|
|||||||
size_t partsize;
|
size_t partsize;
|
||||||
int flags, rfd, fd, part, e = 1;
|
int flags, rfd, fd, part, e = 1;
|
||||||
|
|
||||||
const char *strMac = NULL, *strRMac = "xx:xx:xx:xx:xx:xx", *fname = NULL;
|
const char *strMac = NULL, *strRMac = "xx:xx:xx:xx:xx:xx", *fname = "";
|
||||||
|
|
||||||
typedef struct op {
|
typedef struct op {
|
||||||
char *str;
|
char *str;
|
||||||
|
|||||||
Reference in New Issue
Block a user