From 17c2b3452de6bfbc3346e589a5efce6425e70d8c Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 21 Aug 1996 17:00:54 +0000 Subject: [PATCH] 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. --- usr.sbin/config/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 08aefefd11b..6c524f5e8fe 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 */