From: Sami Kerola Date: Wed, 29 Jun 2011 20:31:03 +0000 (+0200) Subject: blockdev: set options read only X-Git-Tag: v2.20-rc1~113^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00239f33ed044d1e1de7ce9ef73b10e48853d9e6;p=thirdparty%2Futil-linux.git blockdev: set options read only Signed-off-by: Sami Kerola --- diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index 27b1a0a26e..e082f0080f 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -52,7 +52,7 @@ enum { #define IOCTL_ENTRY( io ) .ioc = io, .iocname = # io -struct bdc bdcms[] = +static const struct bdc bdcms[] = { { IOCTL_ENTRY(BLKROSET),