File: floppymeter-confirmation_message.patch

package info (click to toggle)
fdutils 5.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 2,556 kB
  • sloc: ansic: 6,334; sh: 3,570; makefile: 265; sed: 4
file content (18 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Subject: [floppymeter] Improve initial confirmation message
Author: Jari Aalto <jari.aalto@cante.net>
Bug-Debian: http://bugs.debian.org/306097
Bug-Debian: http://bugs.debian.org/298046
Last-Update: 2021-01-30
--- a/src/floppymeter.c
+++ b/src/floppymeter.c
@@ -155,8 +155,9 @@
 
 	if(!(mask & NON_INTERACTIVE)) {
 		fprintf(stderr,
-			"Warning: all data contained on the floppy disk will be lost. Continue?\n");
+			"Warning: all data on the floppy disk will be lost. Continue (y/N)? ");
 		c=getchar();
+		fprintf(stderr, "\n");
 		if(c != 'y' && c != 'Y')
 			exit(1);
 	}