Module Name: src Committed By: mrg Date: Thu Feb 21 05:02:21 UTC 2019
Modified Files: src/sys/compat/netbsd32: netbsd32_compat_14.c Log Message: fix naming errors in previous. (this file is no longer compiled, but this fix makes the pull up more obvious, before deleting this file.) To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/compat/netbsd32/netbsd32_compat_14.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/netbsd32/netbsd32_compat_14.c diff -u src/sys/compat/netbsd32/netbsd32_compat_14.c:1.28 src/sys/compat/netbsd32/netbsd32_compat_14.c:1.29 --- src/sys/compat/netbsd32/netbsd32_compat_14.c:1.28 Thu Feb 21 03:37:19 2019 +++ src/sys/compat/netbsd32/netbsd32_compat_14.c Thu Feb 21 05:02:20 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_compat_14.c,v 1.28 2019/02/21 03:37:19 mrg Exp $ */ +/* $NetBSD: netbsd32_compat_14.c,v 1.29 2019/02/21 05:02:20 mrg Exp $ */ /* * Copyright (c) 1999 Eduardo E. Horvath @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.28 2019/02/21 03:37:19 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_14.c,v 1.29 2019/02/21 05:02:20 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_sysv.h" @@ -146,7 +146,7 @@ static inline void native_to_netbsd32_semid_ds14(struct semid_ds *sembuf, struct netbsd32_semid_ds14 *osembuf) { - memset(omsemuf, 0, sizeof *osembuf); + memset(osembuf, 0, sizeof *osembuf); native_to_netbsd32_ipc_perm14(&sembuf->sem_perm, &osembuf->sem_perm); #define CVT(x) osembuf->x = sembuf->x @@ -177,7 +177,7 @@ static inline void native_to_netbsd32_shmid_ds14(struct shmid_ds *shmbuf, struct netbsd32_shmid_ds14 *oshmbuf) { - memset(omshmuf, 0, sizeof *oshmbuf); + memset(oshmbuf, 0, sizeof *oshmbuf); native_to_netbsd32_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm); #define CVT(x) oshmbuf->x = shmbuf->x