summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_shm.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
committerjhb <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
commit37641f86f1a209d796b3679ab72c92f2ace89fb7 (patch)
treed28ecab1cd6104f6189a11004e6d3615215cf931 /sys/kern/sysv_shm.c
parent450c201b698a84880b8cd2d816cbc526ddc72f4a (diff)
downloadFreeBSD-src-37641f86f1a209d796b3679ab72c92f2ace89fb7.zip
FreeBSD-src-37641f86f1a209d796b3679ab72c92f2ace89fb7.tar.gz
Consistently use the BSD u_int and u_short instead of the SYSV uint and
ushort. In most of these files, there was a mixture of both styles and this change just makes them self-consistent. Requested by: bde (kern_ktrace.c)
Diffstat (limited to 'sys/kern/sysv_shm.c')
-rw-r--r--sys/kern/sysv_shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index 4077b6b..a64c7f3 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -402,8 +402,8 @@ shmat(td, uap)
struct oshmid_ds {
struct ipc_perm shm_perm; /* operation perms */
int shm_segsz; /* size of segment (bytes) */
- ushort shm_cpid; /* pid, creator */
- ushort shm_lpid; /* pid, last operation */
+ u_short shm_cpid; /* pid, creator */
+ u_short shm_lpid; /* pid, last operation */
short shm_nattch; /* no. of current attaches */
time_t shm_atime; /* last attach time */
time_t shm_dtime; /* last detach time */
OpenPOWER on IntegriCloud