summaryrefslogtreecommitdiff
path: root/sysutils/cdrkit/patches/patch-ag
blob: c83d8558dd9001cf9c314e314866265b2c2da1c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2009/06/07 22:02:24 hasso Exp $

--- libusal/scsitransp.c.orig
+++ libusal/scsitransp.c
@@ -301,7 +301,7 @@ usal_yes(char *msg)
 
 	printf("%s", msg);
 	flush();
-	if (getline(okbuf, sizeof (okbuf)) == EOF)
+	if (get_line(okbuf, sizeof (okbuf)) == EOF)
 		exit(EX_BAD);
 	if (streql(okbuf, "y") || streql(okbuf, "yes") ||
 	    streql(okbuf, "Y") || streql(okbuf, "YES"))