summaryrefslogtreecommitdiffstats
path: root/sys/compat/netbsd/netbsd_stat.h
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-09-05 23:39:58 +0000
committerart <art@openbsd.org>2001-09-05 23:39:58 +0000
commite9b6fdc79127f035cd040741360c0cb0eaca76d2 (patch)
tree1ab7cf11876bb4a1d08127d7c3447bc59c94f81e /sys/compat/netbsd/netbsd_stat.h
parentWill need netbsd_types.h very soon. (diff)
downloadwireguard-openbsd-e9b6fdc79127f035cd040741360c0cb0eaca76d2.tar.xz
wireguard-openbsd-e9b6fdc79127f035cd040741360c0cb0eaca76d2.zip
mode_t in netbsd is not the same as our mode_t
Diffstat (limited to 'sys/compat/netbsd/netbsd_stat.h')
-rw-r--r--sys/compat/netbsd/netbsd_stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/netbsd/netbsd_stat.h b/sys/compat/netbsd/netbsd_stat.h
index 8bf88cd5094..785ab2a00fc 100644
--- a/sys/compat/netbsd/netbsd_stat.h
+++ b/sys/compat/netbsd/netbsd_stat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_stat.h,v 1.2 1999/09/17 12:13:47 kstailey Exp $ */
+/* $OpenBSD: netbsd_stat.h,v 1.3 2001/09/05 23:39:58 art Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -77,7 +77,7 @@ struct netbsd_stat12 { /* NetBSD-1.2 stat struct */
struct netbsd_stat {
dev_t st_dev; /* inode's device */
ino_t st_ino; /* inode's number */
- mode_t st_mode; /* inode protection mode */
+ netbsd_mode_t st_mode; /* inode protection mode */
netbsd_nlink_t st_nlink; /* number of hard links */
uid_t st_uid; /* user ID of the file's owner */
gid_t st_gid; /* group ID of the file's group */