aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-13 03:09:51 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-13 03:09:51 +0000
commit1bc1597a2c207976e95b62446dc695daf75dbe66 (patch)
tree7e9d95b9a3a05e5acc145c829fac172c13199dbf /pspax.c
parentshould fix align warnings on ia64 (diff)
downloadpax-utils-1bc1597a2c207976e95b62446dc695daf75dbe66.tar.gz
pax-utils-1bc1597a2c207976e95b62446dc695daf75dbe66.tar.bz2
pax-utils-1bc1597a2c207976e95b62446dc695daf75dbe66.zip
tweak version output to include $PV
Diffstat (limited to 'pspax.c')
-rw-r--r--pspax.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pspax.c b/pspax.c
index ac81347..fa3a530 100644
--- a/pspax.c
+++ b/pspax.c
@@ -41,7 +41,7 @@
#define PROC_DIR "/proc"
-static const char *rcsid = "$Id: pspax.c,v 1.20 2005/06/08 04:34:59 solar Exp $";
+static const char *rcsid = "$Id: pspax.c,v 1.21 2005/06/13 03:09:51 vapier Exp $";
#define argv0 "pspax"
@@ -308,9 +308,9 @@ static void parseargs(int argc, char *argv[])
switch (flag) {
case 'V': /* version info */
- printf("%s compiled %s\n%s\n"
- "%s written for Gentoo Linux by <solar and vapier @ gentoo.org>\n",
- __FILE__, __DATE__, rcsid, argv0);
+ printf("pax-utils-%s: %s compiled %s\n%s\n"
+ "%s written for Gentoo by <solar and vapier @ gentoo.org>\n",
+ VERSION, __FILE__, __DATE__, rcsid, argv0);
exit(EXIT_SUCCESS);
break;
case 'h': usage(EXIT_SUCCESS); break;