فهرست منبع

Fix for incorrect troff escapes in logsys_overview

Ambiguous troff backslash may cause rendering problems, especially with
third-party manual browsers or when lifting to HTML.

Signed-off-by: Eric Raymond <esr@thyrsus.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Eric Raymond 12 سال پیش
والد
کامیت
96e62e6bdf
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      man/logsys_overview.8

+ 2 - 2
man/logsys_overview.8

@@ -155,7 +155,7 @@ LOGSYS_LEVEL_DEBUG
 
 An example of using log_printf would be
 
-log_printf (LOGSYS_LEVEL_EMERG, "This is an emergency %s value %d\n", string, value);
+log_printf (LOGSYS_LEVEL_EMERG, "This is an emergency %s value %d\\n", string, value);
 
 Tracing of functions can be done using ENTER(), LEAVE();
 
@@ -175,7 +175,7 @@ TRACE8(format, args)
 An example of using TRACE is
 
 char *name = "test";
-TRACE7 ("This is a trace 7 log with name %s\n", name);
+TRACE7 ("This is a trace 7 log with name %s\\n", name);
 
 Note that ENTER/LEAVE/TRACE* calls are recorded only in the flight recorder.