diff --git a/Source/deviceinfo/device_info/main.c b/Source/deviceinfo/device_info/main.c index 5eeeb59c..8e2e65f0 100644 --- a/Source/deviceinfo/device_info/main.c +++ b/Source/deviceinfo/device_info/main.c @@ -44,7 +44,7 @@ static void toHexString( *bufLength = length; } else { - printf("ERROR: bufLength %d is too small for %d chars\n", *bufLength, totalLength); + printf("ERROR: bufLength %d is too small for %d chars\n", totalLength); *bufLength = 0; } }