summaryrefslogtreecommitdiffstats
path: root/sys-utils/eject.c
diff options
context:
space:
mode:
authorMike Frysinger2012-04-05 17:50:44 +0200
committerKarel Zak2012-04-10 12:21:19 +0200
commite99f842daffe0fd19a03fa939fba9b9500edda93 (patch)
treebb630be4ddee1cf4e77a5600e3cc319711205c2d /sys-utils/eject.c
parentfdisk: move kernel geometry into blkdev (diff)
downloadkernel-qcow2-util-linux-e99f842daffe0fd19a03fa939fba9b9500edda93.tar.gz
kernel-qcow2-util-linux-e99f842daffe0fd19a03fa939fba9b9500edda93.tar.xz
kernel-qcow2-util-linux-e99f842daffe0fd19a03fa939fba9b9500edda93.zip
eject: constify array
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-utils/eject.c')
-rw-r--r--sys-utils/eject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/eject.c b/sys-utils/eject.c
index 2d8b0cbcc..68d5e9c7a 100644
--- a/sys-utils/eject.c
+++ b/sys-utils/eject.c
@@ -64,7 +64,7 @@
/* eject(1) is able to eject only 'removable' devices (attribute in /sys)
* _or_ devices connected by hotplug subsystem.
*/
-static const char *hotplug_subsystems[] = {
+static const char * const hotplug_subsystems[] = {
"usb",
"ieee1394",
"pcmcia",