diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-23 11:03:56 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-24 00:36:42 +0100 |
commit | 8854e46a50a0272578599d2fcd8d1fb363e19c38 (patch) | |
tree | cc2eb4055cd19d176b5e4669357906055b1ccba6 /hdlcutil/smdiag.c | |
parent | 47349482ee7b737c3cd2a8a1acb18fc3d9b95b0a (diff) |
Add a git suffix to the version number used by all programs.
This uses a setlocalversion script derived from the kernel's
scripts/setlocalversion.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/smdiag.c')
-rw-r--r-- | hdlcutil/smdiag.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hdlcutil/smdiag.c b/hdlcutil/smdiag.c index 9238641..cb354f1 100644 --- a/hdlcutil/smdiag.c +++ b/hdlcutil/smdiag.c @@ -49,6 +49,7 @@ #include "hdrvcomm.h" #include <config.h> +#include <scm-version.h> /* ---------------------------------------------------------------------- */ @@ -333,7 +334,7 @@ int main(int argc, char *argv[]) unsigned int samplesperbit; progname = *argv; - printf("%s: Version " VERSION "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv); + printf("%s: Version " FULL_VER "; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA\n", *argv); hdrvc_args(&argc, argv, "sm0"); while ((ret = getopt(argc, argv, "d:ecp")) != -1) { switch (ret) { |