Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs make sblock_try[] const



details:   https://anonhg.NetBSD.org/src/rev/ec5e9094c4fa
branches:  trunk
changeset: 558688:ec5e9094c4fa
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Feb 22 08:58:03 2004 +0000

description:
make sblock_try[] const

diffstat:

 sys/ufs/ffs/ffs_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a8d609eb5e20 -r ec5e9094c4fa sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c  Sun Feb 22 08:18:11 2004 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c  Sun Feb 22 08:58:03 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_vfsops.c,v 1.134 2004/01/12 16:19:36 dbj Exp $     */
+/*     $NetBSD: ffs_vfsops.c,v 1.135 2004/02/22 08:58:03 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1994
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.134 2004/01/12 16:19:36 dbj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.135 2004/02/22 08:58:03 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -647,7 +647,7 @@
 /*
  * Possible superblock locations ordered from most to least likely.
  */
-static int sblock_try[] = SBLOCKSEARCH;
+static const int sblock_try[] = SBLOCKSEARCH;
 
 /*
  * Common code for mount and mountroot



Home | Main Index | Thread Index | Old Index