From f72508e2b6ca16016862b937ca1584b282fa637c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 27 Feb 2017 10:38:38 +1100 Subject: Correct some broken printf() like format mismatches Fix two places where a printf()-style format string does not match the arguments passed. Reported-by: Nicolas Iooss Signed-off-by: David Gibson --- dtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dtc.c') diff --git a/dtc.c b/dtc.c index 9c30c33..bb1e52b 100644 --- a/dtc.c +++ b/dtc.c @@ -216,7 +216,7 @@ int main(int argc, char *argv[]) alignsize = strtol(optarg, NULL, 0); if (!is_power_of_2(alignsize)) die("Invalid argument \"%d\" to -a option\n", - optarg); + alignsize); break; case 'f': force = true; -- cgit v1.2.3-59-g8ed1b