~ubuntu-branches/debian/jessie/ufsutils/jessie

« back to all changes in this revision

Viewing changes to debian/patches/fsck_getopt.diff

  • Committer: Package Import Robot
  • Author(s): Robert Millan
  • Date: 2013-11-29 14:21:12 UTC
  • mfrom: (11.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20131129142112-5tz5g7a4b6prb0dt
Tags: 9.2-2
* Avoid kfreebsd-kernel-headers versions prior to ino_t fix.
* Remove gratuitous dependency on libtermcap / libtinfo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/sbin/fsck_ffs/main.c
 
2
+++ b/sbin/fsck_ffs/main.c
 
3
@@ -82,7 +82,7 @@
 
4
        sync();
 
5
        skipclean = 1;
 
6
        inoopt = 0;
 
7
-       while ((ch = getopt(argc, argv, "b:Bc:CdEfFm:npryZ")) != -1) {
 
8
+       while ((ch = getopt(argc, argv, "ab:Bc:CdEfFm:npryZ")) != -1) {
 
9
                switch (ch) {
 
10
                case 'b':
 
11
                        skipclean = 0;
 
12
@@ -130,6 +130,8 @@
 
13
                        yflag = 0;
 
14
                        break;
 
15
 
 
16
+               case 'a':
 
17
+                       /* For compatibility with the Linux version of fsck. */
 
18
                case 'p':
 
19
                        preen++;
 
20
                        /*FALLTHROUGH*/