summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-arccvt.c
blob: 54fe714c5b57d94eee07b65535daa2bd7800f5e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- arccvt.c.orig	2010-08-07 13:06:42 UTC
+++ arccvt.c
@@ -120,7 +120,7 @@ cvtfile(hdr)			/* convert a file */
 	writehdr(hdr, new);	/* write out real header */
 	fseek(new, hdr->size, 1);	/* skip over data to next header */
 	fclose(tmp);		/* all done with the file */
-	if (unlink(tempname) && warn) {
+	if (unlink(tempname) && arcwarn) {
 		printf("Cannot unsave %s\n", tempname);
 		nerrs++;
 	}