X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fearlycpio.c;h=7aa7ce250c94d236143ea4ecedd532632a665700;hb=6a4760ed50e4908cfd597be0d840a0cb990aff7a;hp=8078ef49cb793fe475c05cf033944fff5e05a8bb;hpb=b2c6b3e0611c58fbeb6b9c0892b6249f7bdfaf6b;p=karo-tx-linux.git diff --git a/lib/earlycpio.c b/lib/earlycpio.c index 8078ef49cb79..7aa7ce250c94 100644 --- a/lib/earlycpio.c +++ b/lib/earlycpio.c @@ -63,7 +63,7 @@ enum cpio_fields { * the match returned an empty filename string. */ -struct cpio_data __cpuinit find_cpio_data(const char *path, void *data, +struct cpio_data find_cpio_data(const char *path, void *data, size_t len, long *offset) { const size_t cpio_header_len = 8*C_NFIELDS - 2;