]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
karo: common: fdt: print correct name of backlight node when not found
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Apr 2014 08:17:56 +0000 (10:17 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Apr 2014 08:17:56 +0000 (10:17 +0200)
board/karo/common/fdt.c

index 387208c78e4e317e36ce96a4079121c39812337f..3e2477baf2643b7caf5ad3c52c76eb7dfef1e258 100644 (file)
@@ -812,7 +812,7 @@ int karo_fdt_get_backlight_polarity(const void *blob)
                 */
                off = fdt_path_offset(blob, backlight_node);
                if (off < 0) {
-                       printf("/backlight node not found in DT\n");
+                       printf("%s node not found in DT\n", backlight_node);
                        return off;
                }
        }