File hfsprogs-332.14-70-diskdev_cmds_system_check-332.14.patch of Package hfsprogs

Index: hfsprogs-332.14/fsck_hfs.tproj/fsck_hfs.c
===================================================================
--- hfsprogs-332.14.orig/fsck_hfs.tproj/fsck_hfs.c	2008-10-07 05:08:08.000000000 -0300
+++ hfsprogs-332.14/fsck_hfs.tproj/fsck_hfs.c	2008-10-07 05:08:18.000000000 -0300
@@ -109,7 +109,7 @@
 	else
 		progname = *argv;
 
-	while ((ch = getopt(argc, argv, "dfglm:npqruy")) != EOF) {
+	while ((ch = getopt(argc, argv, "dfglm:napqruy")) != EOF) {
 		switch (ch) {
 		case 'd':
 			debug++;
@@ -145,6 +145,7 @@
 			yflag = 0;
 			break;
 
+		case 'a':
 		case 'p':
 			preen++;
 			break;
@@ -535,7 +536,7 @@
 	(void) fprintf(stderr, "  l = live fsck (lock down and test-only)\n");
 	(void) fprintf(stderr, "  m arg = octal mode used when creating lost+found directory \n");
 	(void) fprintf(stderr, "  n = assume a no response \n");
-	(void) fprintf(stderr, "  p = just fix normal inconsistencies \n");
+	(void) fprintf(stderr, "  p, a = just fix normal inconsistencies \n");
 	(void) fprintf(stderr, "  q = quick check returns clean, dirty, or failure \n");
 	(void) fprintf(stderr, "  r = rebuild catalog btree \n");
 	(void) fprintf(stderr, "  u = usage \n");
openSUSE Build Service is sponsored by