14 lines
456 B
Text
14 lines
456 B
Text
$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));
|
|
}
|