From e910ef344ed770576832a80fe8f363bd71a79862 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Mon, 12 Dec 2005 22:14:52 +0000 Subject: [PATCH] correct floppy case --- tools/emile-set-output.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/emile-set-output.c b/tools/emile-set-output.c index 138fecd..afec750 100644 --- a/tools/emile-set-output.c +++ b/tools/emile-set-output.c @@ -187,6 +187,8 @@ static int set_output(char* image, return 3; } } + else + offset = lseek(fd, 0, SEEK_CUR); configuration = emile_second_get_configuration(fd); if (configuration == NULL) @@ -248,7 +250,7 @@ static int set_output(char* image, int main(int argc, char** argv) { int ret; - char* image; + char* image = NULL; int option_index; int c; unsigned int enable_mask = 0;