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:
parent
76041e708d
commit
35cf827870
|
@ -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
|
||||
------------------
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -111,7 +111,6 @@ fi
|
|||
unset LIBMOUNT_DEBUG
|
||||
unset LIBBLKID_DEBUG
|
||||
unset LIBFDISK_DEBUG
|
||||
unset BLKID_DEBUG
|
||||
|
||||
echo
|
||||
echo "-------------------- util-linux regression tests --------------------"
|
||||
|
|
Loading…
Reference in New Issue