docs: fix info about LIBSMARTCOLS_DEBUG_PADDING

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2021-08-10 10:12:26 +02:00
parent a5c6ab54e6
commit 19238be16d
4 changed files with 4 additions and 4 deletions

View 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.

View 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))

View 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

View 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