libblkid: support LIBBLKID_DEBUG= only

... the BLKID_DEBUG= is not more supported.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2013-04-09 12:52:09 +02:00
parent 76041e708d
commit 35cf827870
3 changed files with 3 additions and 4 deletions

View File

@ -10,6 +10,9 @@ version.
The command chkdupexe has been REMOVED from util-linux.
The library libblkid supports LIBBLKID_DEBUG=<mask> environment variable to
print debug messages on stderr. The old BLKID_DEBUG= is no more supported.
Release highlights
------------------

View File

@ -59,9 +59,6 @@ void blkid_init_debug(int mask)
if (!mask)
{
char *dstr = getenv("LIBBLKID_DEBUG");
if (!dstr)
dstr = getenv("BLKID_DEBUG"); /* for backward compatibility */
if (dstr)
blkid_debug_mask = strtoul(dstr, 0, 0);
} else

View File

@ -111,7 +111,6 @@ fi
unset LIBMOUNT_DEBUG
unset LIBBLKID_DEBUG
unset LIBFDISK_DEBUG
unset BLKID_DEBUG
echo
echo "-------------------- util-linux regression tests --------------------"