diff options
Diffstat (limited to 'ubi-utils/src/libscan.c')
-rw-r--r-- | ubi-utils/src/libscan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ubi-utils/src/libscan.c b/ubi-utils/src/libscan.c index 4d64bca..25b5658 100644 --- a/ubi-utils/src/libscan.c +++ b/ubi-utils/src/libscan.c @@ -48,7 +48,8 @@ static int all_ff(const void *buf, int len) return 1; } -int ubi_scan(struct mtd_info *mtd, int fd, struct ubi_scan_info **info, int verbose) +int ubi_scan(struct mtd_dev_info *mtd, int fd, struct ubi_scan_info **info, + int verbose) { int eb, v = (verbose == 2), pr = (verbose == 1); struct ubi_scan_info *si; |