diff options
Diffstat (limited to 'btrfs-fragments.c')
-rw-r--r-- | btrfs-fragments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-fragments.c b/btrfs-fragments.c index 4dd94700..cedbc57a 100644 --- a/btrfs-fragments.c +++ b/btrfs-fragments.c @@ -283,7 +283,7 @@ list_fragments(int fd, u64 flags, char *dir) white = gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); - for (j = 0; j < 10; ++j) + for (j = 0; j < ARRAY_SIZE(colors); ++j) colors[j] = black; init_colors(im, colors); |