X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util-linux%2Fvolume_id%2Fcramfs.c;h=dd939e4949bc75104cd15c0d3e1cea9a055d462c;hb=28ea4298e380d73203890c0f42de68e9798396d8;hp=63b0c7cad26d02a8e94f99ac8c82451da230826f;hpb=c5b737231debe51edb769a0b5667ee9719e560e0;p=oweals%2Fbusybox.git diff --git a/util-linux/volume_id/cramfs.c b/util-linux/volume_id/cramfs.c index 63b0c7cad..dd939e494 100644 --- a/util-linux/volume_id/cramfs.c +++ b/util-linux/volume_id/cramfs.c @@ -35,8 +35,9 @@ struct cramfs_super { uint8_t name[16]; } __attribute__((__packed__)); -int volume_id_probe_cramfs(struct volume_id *id, uint64_t off) +int volume_id_probe_cramfs(struct volume_id *id /*,uint64_t off*/) { +#define off ((uint64_t)0) struct cramfs_super *cs; dbg("probing at offset 0x%llx", (unsigned long long) off);