summaryrefslogtreecommitdiff
path: root/net/udpcast/patches/patch-ag
blob: 3f9d6f197ce7bdf8187c8d80596caa4c4e78bb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.1 2006/08/22 15:52:16 joerg Exp $

--- sender-diskio.c.orig	2006-08-22 17:45:14.000000000 +0000
+++ sender-diskio.c
@@ -26,9 +26,6 @@ int openFile(struct disk_config *config)
     if(config->fileName != NULL) {
 	int in = open(config->fileName, O_RDONLY | O_BINARY, 0);
 	if (in < 0) {
-#ifdef NO_BB
-	    extern int errno;
-#endif
 	    udpc_fatal(1, "Could not open file %s: %s\n", config->fileName,
 		       strerror(errno));
 	}