summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-arcext.c
blob: 44e18fd7ae7c41c864f8690934eb4773d840f94f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- arcext.c.orig	2013-06-27 02:00:19 UTC
+++ arcext.c
@@ -141,7 +141,7 @@ extfile(hdr, path, prt)		/* extract a file */
 	if (note)
 		printf("Extracting file: %s\n", fix);
 
-	if (warn && !overlay) {
+	if (arcwarn && !overlay) {
 		if ((f = fopen(fix, "r"))) {	/* see if it exists */
 				fclose(f);
 				printf("WARNING: File %s already exists!", fix);
@@ -189,7 +189,7 @@ extfile(hdr, path, prt)		/* extract a file */
 	if (!f)
 #endif
 	{
-		if (warn) {
+		if (arcwarn) {
 			printf("Cannot create %s\n", fix);
 			nerrs++;
 		}