libdt: fix printf related bugs
src/libdt.c:97:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        printf(data);
                               ^~~~
src/libdt.c:2241:5: warning: data argument not used by format string [-Wformat-extra-args]
                                node->full_name);
                                ^
src/libdt.c:2248:54: warning: more '%' conversions than data arguments [-Wformat]
                fprintf(stderr, "%s: no 'label' property found in %s\n", partition_node->full_name);
                                                                  ~^

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent 9f4fe53 commit 39fd620b83b45e6b9f85c5a988e4a63e916000dc
@Marc Kleine-Budde Marc Kleine-Budde authored on 21 Apr 2015
Showing 1 changed file
View
src/libdt.c