svn commit: r322880 - stable/11/usr.sbin/acpi/acpiconf
Jung-uk Kim
jkim at FreeBSD.org
Fri Aug 25 07:49:53 UTC 2017
Author: jkim
Date: Fri Aug 25 07:49:51 2017
New Revision: 322880
URL: https://svnweb.freebsd.org/changeset/base/322880
Log:
MFC: r316627 (kan)
Use int to receive the return value of getopt function.
Modified:
stable/11/usr.sbin/acpi/acpiconf/acpiconf.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/acpi/acpiconf/acpiconf.c
==============================================================================
--- stable/11/usr.sbin/acpi/acpiconf/acpiconf.c Fri Aug 25 07:42:48 2017 (r322879)
+++ stable/11/usr.sbin/acpi/acpiconf/acpiconf.c Fri Aug 25 07:49:51 2017 (r322880)
@@ -203,8 +203,8 @@ usage(const char* prog)
int
main(int argc, char *argv[])
{
- char c, *prog;
- int sleep_type;
+ char *prog;
+ int c, sleep_type;
prog = argv[0];
if (argc < 2)
More information about the svn-src-stable-11
mailing list