Skip to contentSkip to conversation

master - lvmpolld: terminate error message with a dot and LF

PATCH Zdenek Kabelac 1 participant 1 message May 27, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1aba262edb7f0bfac897223868779053f4921ff9
Commit:        1aba262edb7f0bfac897223868779053f4921ff9
Parent:        f0268585dd962a7b0393160c042fefb72c64701c
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Wed May 27 08:24:36 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed May 27 11:10:43 2015 +0200

lvmpolld: terminate error message with a dot and LF

---
 daemons/lvmpolld/lvmpolld-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmpolld/lvmpolld-core.c +1 -1
index c1d583e..c5b22d7 100644
@@ -957,7 +957,7 @@ int main(int argc, char *argv[])
 			break;
 		case 't': /* --timeout in seconds */
 			if (!process_timeout_arg(optarg, &di.max_timeouts)) {
-				fprintf(stderr, "Invalid value of timeout parameter");
+				fprintf(stderr, "Invalid value of timeout parameter.\n");
 				exit(EXIT_FAILURE);
 			}
 			/* 0 equals to wait indefinitely */