summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index 7ad7a81..a92370a 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -62,8 +62,8 @@ struct file {
#define DTYPE_FIFO 4 /* fifo (named pipe) */
#define DTYPE_KQUEUE 5 /* event queue */
short f_type; /* descriptor type */
- short f_count; /* reference count */
- short f_msgcount; /* references from message queue */
+ int f_count; /* reference count */
+ int f_msgcount; /* references from message queue */
struct ucred *f_cred; /* credentials associated with descriptor */
struct fileops {
int (*fo_read) __P((struct file *fp, struct uio *uio,
OpenPOWER on IntegriCloud