diff --git a/sys/sys/file.h b/sys/sys/file.h index 6d1b8b8e1df..820ad101557 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -186,7 +186,7 @@ struct file { volatile u_int f_flag; /* see fcntl.h */ volatile u_int f_count; /* reference count */ void *f_data; /* file descriptor specific data */ - struct fileops *f_ops; /* File operations */ + const struct fileops *f_ops; /* File operations */ struct vnode *f_vnode; /* NULL or applicable vnode */ struct ucred *f_cred; /* associated credentials. */ short f_type; /* descriptor type */