]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: fix symbols versioning script
authorKarel Zak <kzak@redhat.com>
Wed, 25 Mar 2015 10:08:22 +0000 (11:08 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Apr 2015 10:25:02 +0000 (12:25 +0200)
Really stupid copy & past mistake. The libfdisk symbols should not be
prefixed by MOUNT_ suffix.

This change makes binaries linked with libfdisk 2.26 incompatible with
new libfdisk. Fortunately, 2.26 has been the first release and very
probably the library has been used for util-linux fdisks only.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/libfdisk.sym

index 8364fe76a843365816ef74d271b20f3c7f3349bd..541b2477d2d8e386f92fd1588c8527b39e947ef0 100644 (file)
@@ -1,11 +1,12 @@
 /*
  * The symbol versioning ensures that a new application requiring symbol foo;
- * can't run with old libblkid.so not providing foo;
- * version info can't enforce this since we never change the SONAME.
+ * can't run with old library.so not providing foo.
+
+ * Version info can't enforce this since we never change the SONAME.
  *
- * Copyright (C) 2014 Karel Zak <kzak@redhat.com>
+ * Copyright (C) 2014-2015 Karel Zak <kzak@redhat.com>
  */
-MOUNT_2.26 {
+FDISK_2.26 {
 global:
        fdisk_add_partition;
        fdisk_align_lba;