From f3fbaba1363f9ba8be3089f96abee7c51f6c8102 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 17 Dec 2011 02:23:30 +0000 Subject: [PATCH] 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 --- usr.bin/mt/mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c index 766ca2f7d52..3fbbdf39453 100644 --- a/usr.bin/mt/mt.c +++ b/usr.bin/mt/mt.c @@ -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[] = {