NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51891: [PATCH] tests/lib/libc/sys/t_mmap: use sys/disklabel.h instead of machine/disklabel.h



The following reply was made to PR bin/51891; it has been noted by GNATS.

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51891: [PATCH] tests/lib/libc/sys/t_mmap: use sys/disklabel.h
 instead of machine/disklabel.h
Date: Sun, 15 Jan 2017 13:20:10 -0800

 --Apple-Mail=_A3A828AB-FAF4-41D8-AD57-3B1E383D2289
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_A3A828AB-FAF4-41D8-AD57-3B1E383D2289
 Content-Disposition: attachment;
 	filename=t_mmap-use-sys-disklabel-instead-of-machine-disklabel.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_mmap-use-sys-disklabel-instead-of-machine-disklabel.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libc/sys/t_mmap.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/sys/t_mmap.c,v
 retrieving revision 1.11
 diff -u -r1.11 t_mmap.c
 --- lib/libc/sys/t_mmap.c	13 Jan 2017 20:43:11 -0000	1.11
 +++ lib/libc/sys/t_mmap.c	15 Jan 2017 21:08:25 -0000
 @@ -58,6 +58,7 @@
  __RCSID("$NetBSD: t_mmap.c,v 1.11 2017/01/13 20:43:11 christos Exp $");
  
  #include <sys/param.h>
 +#include <sys/disklabel.h>
  #include <sys/mman.h>
  #include <sys/stat.h>
  #include <sys/socket.h>
 @@ -73,7 +74,6 @@
  #include <string.h>
  #include <unistd.h>
  #include <paths.h>
 -#include <machine/disklabel.h>
  
  static long	page = 0;
  static char	path[] = "mmap";
 
 --Apple-Mail=_A3A828AB-FAF4-41D8-AD57-3B1E383D2289--
 


Home | Main Index | Thread Index | Old Index