$OpenBSD: patch-arcrun_c,v 1.2 2005/10/13 18:05:20 naddy Exp $
--- arcrun.c.orig	Tue Oct 11 23:48:39 2005
+++ arcrun.c	Tue Oct 11 23:48:59 2005
@@ -98,7 +98,7 @@ runfile(hdr, num, arg)		/* run a file */
 		strcpy(sys, buf);
 
 	else {
-		if (warn) {
+		if (arcwarn) {
 			printf("File %s is not a .BAS, .BAT, .COM, or .EXE\n",
 			       hdr->name);
 			nerrs++;
@@ -112,7 +112,7 @@ runfile(hdr, num, arg)		/* run a file */
               && strcmp(i, ".TTP")
               && strcmp(i, ".TOS"))
       {
-              if (warn) {
+              if (arcwarn) {
                       printf("File %s is not a .PRG, .TOS, or .TTP\n",
                               hdr->name);
                       nerrs++;
@@ -122,7 +122,7 @@ runfile(hdr, num, arg)		/* run a file */
       }
 #endif
 
-	if (warn)
+	if (arcwarn)
 		if ((tmp = fopen(buf, "r")))
 			arcdie("Temporary file %s already exists", buf);
 	if (!(tmp = fopen(buf, OPEN_W)))
@@ -148,7 +148,7 @@ runfile(hdr, num, arg)		/* run a file */
 #endif
 	chdir(dir);
 	free(dir);		/* return to whence we started */
-	if (unlink(buf) && warn) {
+	if (unlink(buf) && arcwarn) {
 		printf("Cannot unsave temporary file %s\n", buf);
 		nerrs++;
 	}
