Module Name:    src
Committed By:   pooka
Date:           Mon Jan 17 16:30:09 UTC 2011

Modified Files:
        src/lib/librumphijack: hijack.c

Log Message:
Use host_close() instead of close() where we know it to be the
right interface.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumphijack/hijack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.8 src/lib/librumphijack/hijack.c:1.9
--- src/lib/librumphijack/hijack.c:1.8	Mon Jan 17 16:27:54 2011
+++ src/lib/librumphijack/hijack.c	Mon Jan 17 16:30:09 2011
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.8 2011/01/17 16:27:54 pooka Exp $	*/
+/*      $NetBSD: hijack.c,v 1.9 2011/01/17 16:30:09 pooka Exp $	*/
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.8 2011/01/17 16:27:54 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.9 2011/01/17 16:30:09 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -932,9 +932,9 @@
 		if (rpipe[1] != -1)
 			rump_sys_close(rpipe[1]);
 		if (hpipe[0] != -1)
-			close(hpipe[0]);
+			host_close(hpipe[0]);
 		if (hpipe[1] != -1)
-			close(hpipe[1]);
+			host_close(hpipe[1]);
 		free(pfd_host);
 		free(pfd_rump);
 		errno = sverrno;

Reply via email to