Line break isn't necessary from the way logerr (and logmsg) is implemented, and these two probably aren't intentional. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@xxxxxxxxx> --- daemon/module.c | 2 +- lib/nss_parse.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/module.c b/daemon/module.c index bed8f7a..db01db8 100644 --- a/daemon/module.c +++ b/daemon/module.c @@ -34,7 +34,7 @@ int load_autofs4_module(void) */ fp = open_fopen_r("/proc/filesystems"); if (!fp) { - logerr("cannot open /proc/filesystems\n"); + logerr("cannot open /proc/filesystems"); return 0; } diff --git a/lib/nss_parse.y b/lib/nss_parse.y index 055e9d7..0721ba1 100644 --- a/lib/nss_parse.y +++ b/lib/nss_parse.y @@ -169,7 +169,7 @@ int nsswitch_parse(struct list_head *list) nsswitch = open_fopen_r(NSSWITCH_FILE); if (!nsswitch) { - logerr("couldn't open %s\n", NSSWITCH_FILE); + logerr("couldn't open %s", NSSWITCH_FILE); return 1; } -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe autofs" in