svn commit: trunk/busybox/modutils
aldot at busybox.net
aldot at busybox.net
Wed May 28 08:57:32 PDT 2008
Author: aldot
Date: 2008-05-28 08:57:31 -0700 (Wed, 28 May 2008)
New Revision: 22109
Log:
- fix overflow; improve documentation while at it
Modified:
trunk/busybox/modutils/modprobe.c
Changeset:
Modified: trunk/busybox/modutils/modprobe.c
===================================================================
--- trunk/busybox/modutils/modprobe.c 2008-05-28 14:57:58 UTC (rev 22108)
+++ trunk/busybox/modutils/modprobe.c 2008-05-28 15:57:31 UTC (rev 22109)
@@ -24,18 +24,18 @@
struct dep_t { /* one-way list of dependency rules */
/* a dependency rule */
- char * m_name; /* the module name*/
- char * m_path; /* the module file path */
- struct mod_opt_t * m_options; /* the module options */
+ char * m_name; /* the module name*/
+ char * m_path; /* the module file path */
+ struct mod_opt_t * m_options; /* the module options */
- int m_isalias : 1; /* the module is an alias */
- int m_isblacklisted : 1;
- int m_reserved : 14; /* stuffin' */
+ unsigned int m_isalias :1; /* the module is an alias */
+ unsigned int m_isblacklisted:1; /* the module is blacklisted */
+ unsigned int m_reserved :14; /* stuffin' */
- int m_depcnt : 16; /* the number of dependable module(s) */
- char ** m_deparr; /* the list of dependable module(s) */
+ unsigned int m_depcnt :16; /* the number of dependable module(s) */
+ char ** m_deparr; /* the list of dependable module(s) */
- struct dep_t * m_next; /* the next dependency rule */
+ struct dep_t * m_next; /* the next dependency rule */
};
struct mod_list_t { /* two-way list of modules to process */
More information about the busybox-cvs
mailing list