From: Jonathan Lebon Date: Wed, 25 Jun 2014 18:42:39 +0000 (-0400) Subject: emit_module_refresh: print newline in error msg X-Git-Tag: release-2.6~54^2~55 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=329dffb483f7d9da38ce5c0821094f42f0d9fb1e;p=systemtap.git emit_module_refresh: print newline in error msg --- 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) << "}";