Commit 976c092c authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

show: Drop redundant \n in pr_img_tail

Before

# ./crtools -s -f unixsk-12713.img

CR_FD_UNIXSK
----------------
fd    8 type  2 state  7 namelen   17 backlog   17 id  79422 peer      0 --> test-socket-conn
fd    9 type  2 state  7 namelen   23 backlog   23 id  79423 peer  79423 --> test-socket-bound-conn

----------------

After

# ./crtools -s -f unixsk-12713.img

CR_FD_UNIXSK
----------------
fd    8 type  2 state  7 namelen   17 backlog   17 id  79422 peer      0 --> test-socket-conn
fd    9 type  2 state  7 namelen   23 backlog   23 id  79423 peer  79423 --> test-socket-bound-conn
----------------
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 893f5099
...@@ -204,6 +204,6 @@ FILE *fopen_proc(int pid_dir_fd, char *fmt, ...); ...@@ -204,6 +204,6 @@ FILE *fopen_proc(int pid_dir_fd, char *fmt, ...);
}) })
#define pr_img_head(type, ...) pr_info("\n"#type __VA_ARGS__ "\n----------------\n") #define pr_img_head(type, ...) pr_info("\n"#type __VA_ARGS__ "\n----------------\n")
#define pr_img_tail(type) pr_info("\n----------------\n") #define pr_img_tail(type) pr_info("----------------\n")
#endif /* UTIL_H_ */ #endif /* UTIL_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment