Hi,

can I suggest to you this little fix:
--- mmc-utils.ref/mmc_cmds.c    2014-11-05 09:38:49.567266375 +0100
+++ mmc-utils/mmc_cmds.c        2014-11-05 10:15:00.002010783 +0100
@@ -618,7 +618,7 @@
        ext_attr = strtol(argv[5], NULL, 10);
        device = argv[6];
 
-       if (partition < 0 || partition > 4) {
+       if (partition < 1 || partition > 4) {
                 printf("Invalid gp parition number valid range [1-4]\n");
                 exit(1);
        }

regards,
Mickaƫl




--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to