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