svn commit: r302788 - head/usr.sbin/acpi/acpidump
Andrew Turner
andrew at FreeBSD.org
Wed Jul 13 22:53:31 UTC 2016
Author: andrew
Date: Wed Jul 13 22:53:30 2016
New Revision: 302788
URL: https://svnweb.freebsd.org/changeset/base/302788
Log:
Fix the type used to hold the value returned from getopt. On arm64 char is
unsigned so will never be -1.
Obtained from: ABT Systems Ltd
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.sbin/acpi/acpidump/acpidump.c
Modified: head/usr.sbin/acpi/acpidump/acpidump.c
==============================================================================
--- head/usr.sbin/acpi/acpidump/acpidump.c Wed Jul 13 21:27:10 2016 (r302787)
+++ head/usr.sbin/acpi/acpidump/acpidump.c Wed Jul 13 22:53:30 2016 (r302788)
@@ -55,7 +55,8 @@ int
main(int argc, char *argv[])
{
ACPI_TABLE_HEADER *rsdt, *sdt;
- char c, *progname;
+ int c;
+ char *progname;
char *dsdt_input_file, *dsdt_output_file;
dsdt_input_file = dsdt_output_file = NULL;
More information about the svn-src-all
mailing list