From: Mike Frysinger Date: Thu, 5 Apr 2012 15:50:44 +0000 (-0400) Subject: eject: constify array X-Git-Tag: v2.22-rc1~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e99f842daffe0fd19a03fa939fba9b9500edda93;p=thirdparty%2Futil-linux.git eject: constify array Signed-off-by: Mike Frysinger --- diff --git a/sys-utils/eject.c b/sys-utils/eject.c index 2d8b0cbccd..68d5e9c7a7 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",