diff options
author | ache <ache@FreeBSD.org> | 1996-08-21 17:00:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-08-21 17:00:54 +0000 |
commit | cb3f7aca30a9e2211813e07178381c2d669424ce (patch) | |
tree | 349a3f952609b6ae9e066a34dcc365e0ba3d91cd /usr.sbin/config/config.h | |
parent | ddd2ef851a5c0f3da17558aa8d00b616b26f6265 (diff) | |
download | FreeBSD-src-cb3f7aca30a9e2211813e07178381c2d669424ce.zip FreeBSD-src-cb3f7aca30a9e2211813e07178381c2d669424ce.tar.gz |
Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r-- | usr.sbin/config/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 08aefef..6c524f5 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -45,7 +45,7 @@ struct file_list { struct file_list *f_next; char *f_fn; /* the name */ - u_char f_type; /* see below */ + int f_type; /* type or count */ u_char f_flags; /* see below */ char *f_special; /* special make rule if present */ char *f_depends; /* additional dependancies */ |