File: superformat-verify_later.patch

package info (click to toggle)
fdutils 5.5-20060227-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,472 kB
  • ctags: 1,142
  • sloc: ansic: 6,291; sh: 3,082; makefile: 251; sed: 4
file content (18 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: [superformat] Make --verify_later an option without argument
 The superformat option --verify_later requires an argument, but the
 variable verify_later is always used as a switch (0/1). This patch
 suppresses the required argument.
Author: Matteo Cypriani <mcy@lm7.fr>
Bug-Debian: http://bugs.debian.org/331488
Last-Update: 2010-05-12
--- a/src/superformat.c
+++ b/src/superformat.c
@@ -560,7 +560,7 @@
 		(void *) &dosverify,
 		"verify disk using mbadblocks" },
 
-	{ 'V', "verify_later", 1, EO_TYPE_BYTE, 1, 0,
+	{ 'V', "verify_later", 0, EO_TYPE_BYTE, 1, 0,
 		(void *) &verify_later,
 		"verify floppy after all formatting is done" },