Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 \%s is not an escape sequence, and we want %s



details:   https://anonhg.NetBSD.org/src/rev/caa4c5b615ca
branches:  trunk
changeset: 329576:caa4c5b615ca
user:      plunky <plunky%NetBSD.org@localhost>
date:      Thu May 29 19:08:30 2014 +0000

description:
\%s is not an escape sequence, and we want %s

diffstat:

 sys/arch/x86/x86/mtrr_i686.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b645d96d4d84 -r caa4c5b615ca sys/arch/x86/x86/mtrr_i686.c
--- a/sys/arch/x86/x86/mtrr_i686.c      Thu May 29 16:28:26 2014 +0000
+++ b/sys/arch/x86/x86/mtrr_i686.c      Thu May 29 19:08:30 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mtrr_i686.c,v 1.27 2012/04/22 18:59:41 rmind Exp $ */
+/*     $NetBSD: mtrr_i686.c,v 1.28 2014/05/29 19:08:30 plunky Exp $ */
 
 /*-
  * Copyright (c) 2000, 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.27 2012/04/22 18:59:41 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.28 2014/05/29 19:08:30 plunky Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -311,7 +311,7 @@
        i686_mtrr_vcnt = i686_mtrr_cap & MTRR_I686_CAP_VCNT_MASK;
 
        if (i686_mtrr_vcnt > MTRR_I686_NVAR_MAX)
-               printf("\%s: FIXME: more than %d MTRRs (%d)\n", __FILE__,
+               printf("%s: FIXME: more than %d MTRRs (%d)\n", __FILE__,
                    MTRR_I686_NVAR_MAX, i686_mtrr_vcnt);
        else if (i686_mtrr_vcnt < MTRR_I686_NVAR_MAX) {
                for (i = MTRR_I686_NVAR_MAX - i686_mtrr_vcnt; i; i--) {



Home | Main Index | Thread Index | Old Index