diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-22 00:35:58 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-22 00:35:58 +0000 |
commit | 0fb707a0e01b162eed7352da0f44f3501b8c24bc (patch) | |
tree | 09cf39d88a8c6468fd5a3d35e5d1bfc7e43b6b4a /sys/kern | |
parent | e54709f1989d77746c21ddaa457984d6eecfc494 (diff) |
Remove duplicated code (pasto)
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sysv_shm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index 944c2cddd2c..7912cf2f5fc 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_shm.c,v 1.39 2003/10/12 23:44:39 millert Exp $ */ +/* $OpenBSD: sysv_shm.c,v 1.40 2003/12/22 00:35:57 millert Exp $ */ /* $NetBSD: sysv_shm.c,v 1.50 1998/10/21 22:24:29 tron Exp $ */ /* @@ -619,8 +619,6 @@ sysctl_sysvshm(int *name, u_int namelen, void *oldp, size_t *oldlenp, bzero(newseqs + shminfo.shmmni, (val - shminfo.shmmni) * sizeof(unsigned short)); free(shmsegs, M_SHM); - free(shmseqs, M_SHM); - shmsegs = newsegs; shmseqs = newseqs; shminfo.shmmni = val; return (0); |