$OpenBSD: patch-file_c,v 1.4 2007/01/01 23:38:51 naddy Exp $
--- file.c.orig	Fri Apr 16 20:47:19 2004
+++ file.c	Tue Jan  2 00:24:48 2007
@@ -7799,7 +7799,7 @@ inputAnswer(char *prompt)
 	ans = inputChar(prompt);
     }
     else {
-	printf(prompt);
+	printf("%s", prompt);
 	fflush(stdout);
 	ans = Strfgets(stdin)->ptr;
     }
@@ -7891,7 +7891,7 @@ uncompress_stream(URLFile *uf, char **sr
 	    uf->scheme = SCM_LOCAL;
     }
     UFhalfclose(uf);
-    uf->stream = newFileStream(f1, (void (*)())pclose);
+    uf->stream = newFileStream(f1, (void (*)())fclose);
 }
 
 static FILE *
