summaryrefslogtreecommitdiffstats
path: root/libs/blkid/bin/blkid.c
diff options
context:
space:
mode:
authorKarel Zak2009-04-28 22:51:53 +0200
committerKarel Zak2009-04-28 23:29:06 +0200
commit33b0be6d60cc793951623feb6b8a2d1177112aca (patch)
treee0d9a577d4966b559848b3e94866e7f762c1c146 /libs/blkid/bin/blkid.c
parentcfdisk: fix "cannot seek on disk drive" bug (diff)
downloadkernel-qcow2-util-linux-33b0be6d60cc793951623feb6b8a2d1177112aca.tar.gz
kernel-qcow2-util-linux-33b0be6d60cc793951623feb6b8a2d1177112aca.tar.xz
kernel-qcow2-util-linux-33b0be6d60cc793951623feb6b8a2d1177112aca.zip
blkid: split SONAME and LIBBLKID_VERSION
It seems better to split SONAME and the public library version. The library version will be the same as util-linux-ng PACKAGE_VERSION. PACKAGE_VERSION: <maj>.<min>[-<suffix>] e.g. 2.15-rc2 Symbols versioning: BLKID_<maj>.<min> e.g. BLKID_2.15 blkid_get_library_version(): <maj>.<min>.0 e.g. 2.15.0 SONAME: libblkid.so.1 See also the original patch a0487b1cb5beffb8f6783476664b01e8833e0ea8 where was introduced library versioning. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libs/blkid/bin/blkid.c')
-rw-r--r--libs/blkid/bin/blkid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/blkid/bin/blkid.c b/libs/blkid/bin/blkid.c
index 620344e4b..72b22c3d1 100644
--- a/libs/blkid/bin/blkid.c
+++ b/libs/blkid/bin/blkid.c
@@ -45,7 +45,7 @@ const char *progname = "blkid";
static void print_version(FILE *out)
{
fprintf(out, "%s from %s (libblkid %s, %s)\n",
- progname, PACKAGE_STRING, BLKID_VERSION, BLKID_DATE);
+ progname, PACKAGE_STRING, LIBBLKID_VERSION, LIBBLKID_DATE);
}
static void usage(int error)