summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-12 08:17:54 +0000
committerJim Meyering <jim@meyering.net>2005-08-12 08:17:54 +0000
commit585c8e075ba4f2166320f861f4647da0ad02ce5b (patch)
treea28e99af2586c7b482cbe0a1340dc55898691706 /src
parentbbef1a2f19f8af4f6025c98e9489eb82de3f603c (diff)
downloadcoreutils-585c8e075ba4f2166320f861f4647da0ad02ce5b.tar.xz
(sort_files): Use cleaner `sizeof *VAR_NAME' rather than `sizeof (TYPE_NAME)'.
Diffstat (limited to 'src')
-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. */