Fix errno.

This commit is contained in:
joerg 2006-03-14 01:32:00 +00:00
parent daad0f3d6c
commit 2f0b3a0517
2 changed files with 15 additions and 6 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.2 2005/11/03 20:06:41 bouyer Exp $
$NetBSD: distinfo,v 1.3 2006/03/14 01:32:00 joerg Exp $
SHA1 (vmpsd-1.3.tar.gz) = 39a8f925191690f209d9f1609321f20360810cf1
RMD160 (vmpsd-1.3.tar.gz) = 1185fbd654d5d0e939fdfa08149d1ebcb3fc0ef2
Size (vmpsd-1.3.tar.gz) = 95202 bytes
SHA1 (patch-aa) = 4bead41f3def8d179af073ac883d77d6c1301dec
SHA1 (patch-aa) = 3ee69eb84f9e2f4277eaaaeefd164ae6511f6fc9
SHA1 (patch-ab) = a30282863432d654669643103de3711da6d53620
SHA1 (patch-ac) = c5871b991808ca33d9ad0a7ee89ea1f1a4b0e803
SHA1 (patch-ad) = 7fa3bf093f35264b1b10003fb3747fd736d12c5d

View file

@ -1,8 +1,17 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/06/06 16:07:43 bouyer Exp $
$NetBSD: patch-aa,v 1.2 2006/03/14 01:32:00 joerg Exp $
--- daemon.c.orig 2005-06-06 13:03:05.000000000 +0200
+++ daemon.c 2005-06-06 13:04:47.000000000 +0200
@@ -44,6 +44,9 @@
--- daemon.c.orig 2004-07-24 00:46:49.000000000 +0000
+++ daemon.c
@@ -14,8 +14,6 @@
#define VMPS_CHECK_BSD
#endif
-extern int errno;
-
#ifdef VMPS_CHECK_BSD
#include <sys/file.h>
#include <sys/ioctl.h>
@@ -44,6 +42,9 @@ daemon_start(ignsigcld)
{
register int childpid;