diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 02:10:36 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 02:10:36 +0100 |
commit | 0e05e3b5139fe2e3c01f0f2831c24f7fba1c8132 (patch) | |
tree | f0f679b1f4b037934bc12d495f7ba6651124a495 /i386 | |
parent | 3f7ad298fd5dd80c0dc017fdd77be23e7861e547 (diff) |
Fix format for string print
* i386/i386at/model_dep.c (c_boot_entry): Use %s format for printing a mere
string, not the string.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |