summaryrefslogtreecommitdiff
path: root/fdisk/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdisk/fdisk.c')
-rw-r--r--fdisk/fdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 1d1de5bd..abc0e110 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -1253,7 +1253,7 @@ get_nonexisting_partition(int warn, int max) {
return get_partition(warn, max);
}
-char * const
+const char *
str_units(int n) { /* n==1: use singular */
if (n == 1)
return display_in_cyl_units ? _("cylinder") : _("sector");