From 3f975a93b312d569af99b200f2a695d22a6fd55d Mon Sep 17 00:00:00 2001 From: "pancake@flubox" Date: Mon, 21 Dec 2009 14:40:12 +0100 Subject: * Fix segmentation fault with -O2 while unpacking (thanks for reporting) * Various random checks to ensure read/write ops are success --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 7908eb4..766abea 100644 --- a/src/main.h +++ b/src/main.h @@ -102,7 +102,7 @@ extern char *modes[]; extern char *root_devices[]; // fiasco -int openfiasco(char *name, const char *grep, int v); +int openfiasco(const char *name, const char *grep, int v); int fiasco_new(const char *filename, const char *name); void fiasco_data_read(struct header_t *header); int fiasco_add_eof(int fd); -- cgit v1.2.3