Merge tag 'u-boot-imx-20200609' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / lib / smbios.c
index 7b74971f68783205c2dfaab9e5a30f24b72139f4..11790443e1a9fed505220e526009d9b0edf273f6 100644 (file)
@@ -31,6 +31,8 @@ static int smbios_add_string(char *start, const char *str)
 {
        int i = 1;
        char *p = start;
+       if (!*str)
+               str = "Unknown";
 
        for (;;) {
                if (!*p) {