summaryrefslogtreecommitdiffstats
path: root/disk-utils/mkfs.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:54 +0100
committerKarel Zak2006-12-07 00:26:54 +0100
commit48d7b13a1eab85fab91c8d6c5ddf298f733c74f5 (patch)
tree8813d36590ee3361bd75f57a12fd2032e9296ddb /disk-utils/mkfs.c
parentImported from util-linux-2.12r tarball. (diff)
downloadkernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.gz
kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.xz
kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.zip
Imported from util-linux-2.13-pre1 tarball.
Diffstat (limited to 'disk-utils/mkfs.c')
-rw-r--r--disk-utils/mkfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/disk-utils/mkfs.c b/disk-utils/mkfs.c
index 38bacc034..4989f383e 100644
--- a/disk-utils/mkfs.c
+++ b/disk-utils/mkfs.c
@@ -21,9 +21,7 @@
#include <unistd.h>
#include <string.h>
#include <getopt.h>
-#include "nls.h"
-
-#define VERSION UTIL_LINUX_VERSION
+#include <nls.h>
#ifndef DEFAULT_FSTYPE
# define DEFAULT_FSTYPE "ext2"
@@ -51,7 +49,7 @@ int main(int argc, char *argv[])
if (argc == 2 &&
(!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version"))) {
- printf(_("%s from %s\n"), program_name, util_linux_version);
+ printf(_("%s from %s%s\n"), program_name, "util-linux-", VERSION);
exit(0);
}