diff --git a/src/files.c b/src/files.c
index c50a4fbc4372bb52e997957eb56197d90950de42..c76ac90c8438b44b15288c91780d84ec654d0762 100644
--- a/src/files.c
+++ b/src/files.c
@@ -1651,16 +1651,17 @@ bool check_operating_dir(const char *currpath, bool allow_tabcomp)
  * messed up and I'm blanket allowing insecure file writing operations'. */
 int prompt_failed_backupwrite(const char *filename)
 {
-    static int i;
+    static int response;
     static char *prevfile = NULL; /* What was the last file we were
 				   * passed so we don't keep asking
 				   * this?  Though maybe we should... */
     if (prevfile == NULL || strcmp(filename, prevfile)) {
-	i = do_yesno_prompt(FALSE,
-		_("Failed to write backup file, continue saving? (Say N if unsure) "));
+	response = do_yesno_prompt(FALSE, _("Failed to write backup file; "
+			"continue saving? (Say N if unsure.) "));
 	prevfile = mallocstrcpy(prevfile, filename);
     }
-    return i;
+
+    return response;
 }
 
 void init_backup_dir(void)