]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
eject: constify array
authorMike Frysinger <vapier@gentoo.org>
Thu, 5 Apr 2012 15:50:44 +0000 (11:50 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Apr 2012 10:21:19 +0000 (12:21 +0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sys-utils/eject.c

index 2d8b0cbccd66f5bc263528b27410cc93a107c7ba..68d5e9c7a7d66e935ac3f8c46c6479d86e084312 100644 (file)
@@ -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",