summaryrefslogtreecommitdiffstats
path: root/util/merge_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/merge_dir.c')
-rw-r--r--util/merge_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/merge_dir.c b/util/merge_dir.c
index 304f0927..b2044050 100644
--- a/util/merge_dir.c
+++ b/util/merge_dir.c
@@ -12,7 +12,7 @@ fileheader_t *fh;
int dir_cmp(const void *a, const void *b)
{
return (atoi( &((fileheader_t *)a)->filename[2] ) -
- atoi( &((fileheader_t *)a)->filename[2] ));
+ atoi( &((fileheader_t *)b)->filename[2] ));
}
int main(int argc, char **argv) {