Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2018 16:28:30 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r332036 - stable/10/sys/compat/linux
Message-ID:  <201804041628.w34GSUEf083332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Apr  4 16:28:30 2018
New Revision: 332036
URL: https://svnweb.freebsd.org/changeset/base/332036

Log:
  Fix build: use correct variable name on stable/10
  
  r332032 merged r330356 from HEAD but did not account for a renamed
  variable (of a different type) between stable/10 and HEAD.
  
  Reported by:	lwhsu

Modified:
  stable/10/sys/compat/linux/linux_ipc.c

Modified: stable/10/sys/compat/linux/linux_ipc.c
==============================================================================
--- stable/10/sys/compat/linux/linux_ipc.c	Wed Apr  4 15:16:04 2018	(r332035)
+++ stable/10/sys/compat/linux/linux_ipc.c	Wed Apr  4 16:28:30 2018	(r332036)
@@ -517,7 +517,7 @@ linux_semctl(struct thread *td, struct linux_semctl_ar
 	int cmd, error;
 
 	memset(&linux_seminfo, 0, sizeof(linux_seminfo));
-	memset(&linux_semid64, 0, sizeof(linux_semid64));
+	memset(&linux_semid, 0, sizeof(linux_semid));
 
 	switch (args->cmd & ~LINUX_IPC_64) {
 	case LINUX_IPC_RMID:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804041628.w34GSUEf083332>