In usr.bin/mt/mt.c, the c_code member of struct commands should really

be an unsigned long, since it will contain values of ioctl request
codes.  On 64-bit arches, these will not fit into an int.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-17 02:23:30 +00:00
parent b884d5e84a
commit f3fbaba136
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228619

View File

@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
static const struct commands {
const char *c_name;
int c_code;
unsigned long c_code;
int c_ronly;
int c_flags;
} com[] = {