Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha add "const", and spellcheck a comment



details:   https://anonhg.NetBSD.org/src/rev/b2fb5a10fba5
branches:  trunk
changeset: 581433:b2fb5a10fba5
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jun 01 16:11:15 2005 +0000

description:
add "const", and spellcheck a comment

diffstat:

 sys/arch/alpha/alpha/disksubr.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r eac1b1705331 -r b2fb5a10fba5 sys/arch/alpha/alpha/disksubr.c
--- a/sys/arch/alpha/alpha/disksubr.c   Wed Jun 01 16:09:45 2005 +0000
+++ b/sys/arch/alpha/alpha/disksubr.c   Wed Jun 01 16:11:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.27 2003/05/10 23:12:29 thorpej Exp $ */
+/* $NetBSD: disksubr.c,v 1.28 2005/06/01 16:11:15 drochner Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.27 2003/05/10 23:12:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.28 2005/06/01 16:11:15 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -62,7 +62,7 @@
        struct buf *bp;
        struct disklabel *dlp;
        struct dkbad *bdp;
-       char *msg = NULL;
+       const char *msg = NULL;
        int i;
 
        /* minimal requirements for archtypal disk label */
@@ -203,8 +203,8 @@
 
 /*
  * Write disk label back to device after modification.
- * this means write out the Rigid disk blocks to represent the 
- * label.  Hope the user was carefull.
+ * This means write out the rigid disk blocks to represent the 
+ * label.  Hope the user was careful.
  */
 int
 writedisklabel(dev, strat, lp, clp)



Home | Main Index | Thread Index | Old Index