Author: dim
Date: Sun Jan  1 18:25:16 2012
New Revision: 229181
URL: http://svn.freebsd.org/changeset/base/229181

Log:
  MFC r228619:
  
  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.

Modified:
  stable/9/usr.bin/mt/mt.c
Directory Properties:
  stable/9/usr.bin/mt/   (props changed)

Modified: stable/9/usr.bin/mt/mt.c
==============================================================================
--- stable/9/usr.bin/mt/mt.c    Sun Jan  1 18:17:37 2012        (r229180)
+++ stable/9/usr.bin/mt/mt.c    Sun Jan  1 18:25:16 2012        (r229181)
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
 
 struct commands {
        const char *c_name;
-       int c_code;
+       unsigned long c_code;
        int c_ronly;
        int c_flags;
 } com[] = {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to