static void
usage(void) {
- fprintf(stderr, "elvtune (%s%s)\n", "util-linux-", VERSION);
+ fprintf(stderr, "elvtune (%s)\n", PACKAGE_STRING);
fprintf(stderr, _("usage:\n"));
fprintf(stderr, "\telvtune [-r r_lat] [-w w_lat] [-b b_lat]"
" /dev/blkdev1 [/dev/blkdev2...]\n");
static void
version(void) {
- fprintf(stderr, "elvtune (%s%s)\n", "util-linux-", VERSION);
+ fprintf(stderr, "elvtune (%s)\n", PACKAGE_STRING);
}
#define MAKE_VERSION(p,q,r) (65536*(p) + 256*(q) + (r))
static void
out_version(void) {
- printf(_("%s from util-linux-%s\n"), MYNAME, PACKAGE_VERSION);
+ printf(_("%s from %s\n"), MYNAME, PACKAGE_STRING);
}
/*
}
if (! strcmp (arg, "-v") || ! strcmp (arg, "-V") ||
! strcmp (arg, "--version")) {
- printf(_("%s from %s%s\n"), progname, "util-linux-", VERSION);
+ printf(_("%s from %s\n"), progname, PACKAGE_STRING);
return 0;
}
if (! strcmp (arg, "-a")) {