blob: e8de332c62bb7e0b4465a3d5de28b49fbc5b1247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ac,v 1.3 2007/10/10 16:53:58 rillig Exp $
--- incoming/ppp.c.orig 1996-09-10 00:35:12.000000000 +0000
+++ incoming/ppp.c 2007-10-10 16:49:36.000000000 +0000
@@ -46,8 +46,8 @@ static char copyright[] =
#include "mcap.h"
#include <sys/time.h>
#include <signal.h>
-
-#define EOF -1
+#include <stdio.h>
+#include <stdlib.h>
void ppp_detect (tty, ttyName)
int tty;
@@ -125,7 +125,7 @@ void ppp_detect (tty, ttyName)
if (!lbuf)
error ("Can't allocate space for login string.\n");
strcpy (lbuf, modemcap.program);
- strcat (lbuf, " ");
+ strcat (lbuf, " -- ");
strcat (lbuf, (char *)ibuf);
modemcap.program = lbuf;
return;
|