summaryrefslogtreecommitdiff
path: root/lib/msg.c
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2012-06-08 22:45:31 +0300
committerAntti-Juhani Kaijanaho <ajk@debian.org>2012-06-08 22:45:31 +0300
commit3da2c85181849571d62270ddf86306ea5e0d7482 (patch)
treef34f53275689d868da1ea9c35d8abebe7ebac692 /lib/msg.c
parenta132bb1dec969d2852d98e32eaaa7b2da8c309c8 (diff)
downloaddctrl-tools-3da2c85181849571d62270ddf86306ea5e0d7482.tar.gz
lib/msg.c (msg_primitive): Write the period before the newline, not after!
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'lib/msg.c')
-rw-r--r--lib/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msg.c b/lib/msg.c
index 2216413..b9554fb 100644
--- a/lib/msg.c
+++ b/lib/msg.c
@@ -1,5 +1,5 @@
/* grep-dctrl - grep Debian control files
- Copyright © 1999, 2004, 2008 Antti-Juhani Kaijanaho
+ Copyright © 1999, 2004, 2008, 2012 Antti-Juhani Kaijanaho
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -100,5 +100,5 @@ msg_primitive(const char *fname, int line, const char *fmt, va_list ap)
fprintf(stderr, "%s: %s: ", get_progname(), fname);
}
vfprintf(stderr, fmt, ap);
- fputs("\n.", stderr);
+ fputs(".\n", stderr);
}