]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/vsprintf.c
imx: hab: Check if CSF contains deprecated commands
[people/ms/u-boot.git] / lib / vsprintf.c
index 226f4eb3e5125878200fbeb1109d3ab24e41e260..5f7a5f17dc6917cf539c9b207698408a43eda493 100644 (file)
@@ -300,8 +300,9 @@ static char *device_path_string(char *buf, char *end, void *dp, int field_width,
 {
        u16 *str;
 
+       /* If dp == NULL output the string '<NULL>' */
        if (!dp)
-               return "<NULL>";
+               return string16(buf, end, dp, field_width, precision, flags);
 
        str = efi_dp_str((struct efi_device_path *)dp);
        if (!str)