Print this page
6154 const-ify segment ops structures

@@ -764,11 +764,11 @@
         if (capability == S_CAPABILITY_NOMINFLT)
                 return (1);
         return (0);
 }
 
-static struct seg_ops segkmem_ops = {
+static const struct seg_ops segkmem_ops = {
         .dup            = SEGKMEM_BADOP(int),
         .unmap          = SEGKMEM_BADOP(int),
         .free           = SEGKMEM_BADOP(void),
         .fault          = segkmem_fault,
         .faulta         = SEGKMEM_BADOP(faultcode_t),