summaryrefslogtreecommitdiff
path: root/sysutils/ntfsprogs/patches/patch-ag
blob: 48cef64dd77f574963c6f2c39857ad2d164f2148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ag,v 1.2 2006/01/26 21:43:51 adam Exp $

--- ntfsprogs/ntfsresize.c.orig	2005-10-07 15:57:31.000000000 +0200
+++ ntfsprogs/ntfsresize.c
@@ -527,12 +527,9 @@ static int parse_options(int argc, char 
 		}
 	}
 
-	stderr = stdout;
-
 #ifdef DEBUG
 	if (!opt.debug)
-		if (!(stderr = fopen("/dev/null", "rw")))
-			perr_exit("Couldn't open /dev/null");
+		ntfs_err_out = NULL;
 #endif
 
 	if (ver)