patch-lib_libmtd_legacy_c 371 B

1234567891011
  1. --- mtd-utils-1.5.0.orig/lib/libmtd_legacy.c 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-1.5.0/lib/libmtd_legacy.c 2014-03-30 15:49:26.000000000 +0200
  3. @@ -234,7 +234,7 @@ int legacy_get_dev_info(const char *node
  4. struct stat st;
  5. struct mtd_info_user ui;
  6. int fd, ret;
  7. - loff_t offs = 0;
  8. + off_t offs = 0;
  9. struct proc_parse_info pi;
  10. if (stat(node, &st)) {