summaryrefslogtreecommitdiff
path: root/split/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'split/main.c')
-rw-r--r--split/main.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/split/main.c b/split/main.c
index 0f9d77b0e..df447c55c 100644
--- a/split/main.c
+++ b/split/main.c
@@ -34,13 +34,12 @@
#include "dpkg-split.h"
static void printversion(void) {
- if (fputs
- (_("Debian GNU/Linux `dpkg-split' package split/join tool; version "), stdout) < 0) werr ("stdout");
- if (fputs (DPKG_VERSION_ARCH ".\n", stdout) < 0) werr ("stdout");
- if (fputs (_("Copyright (C) 1994-1996 Ian Jackson. This is free software; see the\n"
- "GNU General Public Licence version 2 or later for copying conditions.\n"
- "There is NO warranty. See dpkg-split --licence for details.\n"),
- stdout) < 0) werr("stdout");
+ if (printf(_("Debian `%s' package split/join tool; version %s."), SPLITTER, DPKG_VERSION_ARCH) < 0) werr("stdout");
+ if (printf(_("This is free software; see the GNU General Public Licence version 2 or\n"
+ "later for copying conditions. There is NO warranty.\n"
+ "See %s --licence for copyright and license details.\n"),
+ SPLITTER) < 0) werr("stdout");
+ if (fflush(stdout) < 0) werr("stdout");
}
static void usage(void) {