pkgsrc/misc/pty-redir/patches/patch-aa
1999-11-27 21:57:11 +00:00

19 lines
334 B
Text

$NetBSD: patch-aa,v 1.2 1999/11/27 22:59:27 rh Exp $
--- pty-redir.c.orig Sat Nov 27 23:57:41 1999
+++ pty-redir.c Sat Nov 27 23:57:41 1999
@@ -72,7 +72,7 @@
return fd;
}
-void main(int argc,char *argv[])
+int main(int argc,char *argv[])
{
int fd;
char a,b;
@@ -106,4 +106,5 @@
exit(-2);
}
}
+ exit(0);
}