--- squashfs-tools/mksquashfs.c 2007-01-16 02:33:13.000000000 +0100 +++ squashfs-tools/mksquashfs.c 2007-01-23 17:01:41.761826000 +0100 @@ -1682,6 +1682,7 @@ for(entry = priority_list[i]; entry; entry = entry->next) reader_read_file(entry->dir); } + return NULL; } @@ -1830,7 +1831,7 @@ int spaces = columns - used - hashes; if(!progress || columns - used < 0) - return; + return 0; printf("\r["); @@ -1843,6 +1844,7 @@ printf("] %*lld/%*lld", max_digits, current, max_digits, max); printf(" %3lld%%", current * 100 / max); fflush(stdout); + return 0; }