diff options
author | fche <fche> | 2005-07-14 18:33:29 +0000 |
---|---|---|
committer | fche <fche> | 2005-07-14 18:33:29 +0000 |
commit | 1b45b189806bda83b80cf34ac4c268db59970811 (patch) | |
tree | 1d4dfe09f8d50d64bc446be3a6d402f0961e8393 | |
parent | 3e1affadc407369714d697518d8a562acd4373f7 (diff) | |
download | systemtap-steved-1b45b189806bda83b80cf34ac4c268db59970811.tar.gz systemtap-steved-1b45b189806bda83b80cf34ac4c268db59970811.tar.xz systemtap-steved-1b45b189806bda83b80cf34ac4c268db59970811.zip |
2005-07-14 Frank Ch. Eigler <fche@redhat.com>
* builtin_functions.h (printk): Use explicit format string.
-rw-r--r-- | runtime/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/builtin_functions.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 3be80bf4..3ba747ae 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,7 @@ +2005-07-14 Frank Ch. Eigler <fche@redhat.com> + + * builtin_functions.h (printk): Use explicit format string. + 2005-07-11 Graydon Hoare <graydon@redhat.com> * builtin_functions.h: New file. diff --git a/runtime/builtin_functions.h b/runtime/builtin_functions.h index 13be00fb..505d073b 100644 --- a/runtime/builtin_functions.h +++ b/runtime/builtin_functions.h @@ -34,7 +34,7 @@ static void function_printk (struct context *c) { - printk (KERN_INFO, c->locals[c->nesting].function_printk.message); + printk (KERN_INFO "%s\n", c->locals[c->nesting].function_printk.message); } #endif /* _BUILTIN_FUNCTION_printk_ */ |