summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 8157e7d9d..dc01eaeba 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -3012,7 +3012,7 @@ sort_files (void)
}
}
- qsort (files, files_index, sizeof (struct fileinfo), func);
+ qsort (files, files_index, sizeof *files, func);
}
/* List all the files now in the table. */