svn commit: r211252 - head/usr.sbin/acpi/acpidump

Dag-Erling Smørgrav des at des.no
Fri Aug 13 09:12:54 UTC 2010


Takanori Watanabe <takawata at FreeBSD.org> writes:
> @@ -647,7 +646,7 @@ acpi_handle_tcpa(ACPI_TABLE_HEADER *sdp)
>  		printf(END_COMMENT);
>  		return;
>  	}
> -	printf("\tClass %d Base Address 0x%jx Length %" PRIu64 "\n\n",
> +	printf("\tClass %u Base Address 0x%jx Length %ju\n\n",
>  	    tcpa->platform_class, paddr, len);
>  
>  	if (len == 0) {

This is still wrong, just a different kind of wrong.  Just because the
compiler doesn't complain doesn't mean it's right.  Did you even read
what John and I wrote?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list