Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/alpha need to deconst() a qouted ...



details:   https://anonhg.NetBSD.org/src/rev/b0221f484242
branches:  trunk
changeset: 571144:b0221f484242
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu Nov 11 20:00:40 2004 +0000

description:
need to deconst() a qouted string to compile with WARNS=3

diffstat:

 distrib/utils/sysinst/arch/alpha/md.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d815081be8a5 -r b0221f484242 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Thu Nov 11 19:25:30 2004 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Thu Nov 11 20:00:40 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.39 2004/08/14 16:06:40 dsl Exp $      */
+/*     $NetBSD: md.c,v 1.40 2004/11/11 20:00:40 dsl Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -134,7 +134,8 @@
        if (run_program(RUN_DISPLAY | RUN_NO_CLEAR,
            "/usr/sbin/installboot /dev/r%sc /usr/mdec/bootxx_ffs",
            diskdev))
-               process_menu(MENU_ok, "Warning: disk is probably not bootable");
+               process_menu(MENU_ok,
+                        deconst("Warning: disk is probably not bootable"));
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index