]> sourceware.org Git - systemtap.git/commitdiff
emit_module_refresh: print newline in error msg
authorJonathan Lebon <jlebon@redhat.com>
Wed, 25 Jun 2014 18:42:39 +0000 (14:42 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Mon, 11 Aug 2014 19:39:59 +0000 (15:39 -0400)
translate.cxx

index e8108f9d48b7151869cb3e0dc2da4ac3bfe982fd..da3935130077bcf482b773d1dd4512d13c970ff8 100644 (file)
@@ -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) << "}";
This page took 0.038371 seconds and 5 git commands to generate.