From 329dffb483f7d9da38ce5c0821094f42f0d9fb1e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 25 Jun 2014 14:42:39 -0400 Subject: [PATCH] emit_module_refresh: print newline in error msg --- translate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.cxx b/translate.cxx index e8108f9d4..da3935130 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1906,7 +1906,7 @@ c_unparser::emit_module_refresh () o->newline() << "if (state != STAP_SESSION_RUNNING && state != STAP_SESSION_STARTING && state != STAP_SESSION_ERROR) {"; // cannot _stp_warn etc. since we're not in probe context o->newline(1) << "#if defined(__KERNEL__)"; - o->newline() << "printk (KERN_ERR \"stap module notifier triggered in unexpected state %d\", state);"; + o->newline() << "printk (KERN_ERR \"stap module notifier triggered in unexpected state %d\\n\", state);"; o->newline() << "#endif"; o->newline() << "return;"; o->newline(-1) << "}"; -- 2.43.5