From 0e05e3b5139fe2e3c01f0f2831c24f7fba1c8132 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 02:10:36 +0100 Subject: Fix format for string print * i386/i386at/model_dep.c (c_boot_entry): Use %s format for printing a mere string, not the string. --- i386/i386at/model_dep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index f6e797c..980708c 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -486,7 +486,7 @@ void c_boot_entry(vm_offset_t bi) /* Before we do _anything_ else, print the hello message. If there are no initialized console devices yet, it will be stored and printed at the first opportunity. */ - printf(version); + printf("%s", version); printf("\n"); #ifdef MACH_XEN -- cgit v1.2.3