]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blockdev: set options read only
authorSami Kerola <kerolasa@iki.fi>
Wed, 29 Jun 2011 20:31:03 +0000 (22:31 +0200)
committerSami Kerola <kerolasa@iki.fi>
Wed, 29 Jun 2011 20:31:03 +0000 (22:31 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/blockdev.c

index 27b1a0a26ee9485986ceb2900fe0b535f30e8b2e..e082f0080f57d68dd0483389dd0355dd9d35f185 100644 (file)
@@ -52,7 +52,7 @@ enum {
 
 #define IOCTL_ENTRY( io )      .ioc = io, .iocname = # io
 
-struct bdc bdcms[] =
+static const struct bdc bdcms[] =
 {
        {
                IOCTL_ENTRY(BLKROSET),