diff options
| author | Max Kellermann <max.kellermann@gmail.com> | 2024-11-18 12:33:01 +0100 |
|---|---|---|
| committer | Max Kellermann <max.kellermann@gmail.com> | 2024-11-18 12:35:59 +0100 |
| commit | 7efb0dc45734ce9305203452049d4a7752db46f5 (patch) | |
| tree | 7cd2442221dedeba5031d3790f17da62f9d41a7b /disk-utils/cfdisk.c | |
| parent | 889f101364202a129d495720019035baff04299a (diff) | |
| download | util-linux-7efb0dc45734ce9305203452049d4a7752db46f5.tar.gz | |
disk-utils: make pointer arrays const
Diffstat (limited to 'disk-utils/cfdisk.c')
| -rw-r--r-- | disk-utils/cfdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index bc1c87d83e..948957c5e2 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -69,7 +69,7 @@ #include "list.h" #include "blkdev.h" -static const char *default_disks[] = { +static const char *const default_disks[] = { #ifdef __GNU__ "/dev/hd0", "/dev/sd0", @@ -2247,7 +2247,7 @@ done: static int ui_help(void) { size_t i; - static const char *help[] = { + static const char *const help[] = { N_("This is cfdisk, a curses-based disk partitioning program."), N_("It lets you create, delete, and modify partitions on a block device."), " ", |
