[packages] libcrypt update to 1.5.3
[packages.git] / utils / mtd-utils / patches / 100-mtd-debug-add-bad-block-counter.patch
index 191a7d0..dbe6ccc 100644 (file)
@@ -1,6 +1,6 @@
 --- a/mtd_debug.c
 +++ b/mtd_debug.c
-@@ -236,6 +236,7 @@ int showinfo (int fd)
+@@ -238,6 +238,7 @@ int showinfo (int fd)
        int i,err,n;
        struct mtd_info_user mtd;
        static struct region_info_user region[1024];
@@ -8,7 +8,7 @@
  
        err = getmeminfo (fd,&mtd);
        if (err < 0)
-@@ -328,6 +329,11 @@ int showinfo (int fd)
+@@ -330,6 +331,11 @@ int showinfo (int fd)
        printf ("\nmtd.oobsize = ");
        printsize (mtd.oobsize);
  
@@ -20,7 +20,7 @@
        printf ("\n"
                        "regions = %d\n"
                        "\n",
-@@ -347,6 +353,50 @@ int showinfo (int fd)
+@@ -349,6 +355,50 @@ int showinfo (int fd)
        return (0);
  }
  
@@ -68,6 +68,6 @@
 +      return ibbCounter;
 +}
 +
- void showusage (const char *progname)
+ void showusage(void)
  {
        fprintf (stderr,