]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: fix info about LIBSMARTCOLS_DEBUG_PADDING
authorKarel Zak <kzak@redhat.com>
Tue, 10 Aug 2021 08:12:26 +0000 (10:12 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Aug 2021 08:14:22 +0000 (10:14 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.8.adoc
libsmartcols/src/table.c
misc-utils/findmnt.8.adoc
misc-utils/lsblk.8.adoc

index 16fb39fc7718772a3e7d1a0a1674fb40a61dc52c..fad0a98565a351243338eb1f935e84ae6a2ff886 100644 (file)
@@ -209,7 +209,7 @@ enables libblkid debug output.
 enables libsmartcols debug output.
 
 *LIBSMARTCOLS_DEBUG_PADDING*=on::
-use visible padding characters. Requires enabled *LIBSMARTCOLS_DEBUG*.
+use visible padding characters.
 
 *LOCK_BLOCK_DEVICE*=<mode>::
 use exclusive BSD lock. The mode is "1" or "0". See *--lock* for more details.
index 2644215e050688d6373527824da49feb5c3ea130..cbc5fd42a58f10f55ac90ca7e82a7cdbcb0baef6 100644 (file)
@@ -50,7 +50,7 @@ static void check_padding_debug(struct libscols_table *tb)
 {
        const char *str;
 
-       assert(libsmartcols_debug_mask);        /* debug has to be enabled! */
+       assert(libsmartcols_debug_mask);        /* debug has to be already initialized! */
 
        str = getenv("LIBSMARTCOLS_DEBUG_PADDING");
        if (!str || (strcmp(str, "on") != 0 && strcmp(str, "1") != 0))
index 7baa6e58020188738f918b58668315a2d38096ff..9890584dfe2dea98917eb1252d2dd2ed907f1e04 100644 (file)
@@ -187,7 +187,7 @@ LIBSMARTCOLS_DEBUG=all::
 enables libsmartcols debug output
 
 LIBSMARTCOLS_DEBUG_PADDING=on::
-use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG.
+use visible padding characters.
 
 == EXAMPLES
 
index 4addcb71bd3d0c856ef8b42946327303acbfce75..7356976403a7e1afd69924e335c7b59ca7e057ba 100644 (file)
@@ -150,7 +150,7 @@ LIBSMARTCOLS_DEBUG=all::
 enables *libsmartcols* debug output.
 
 LIBSMARTCOLS_DEBUG_PADDING=on::
-use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG.
+use visible padding characters.
 
 == NOTES