diff options
author | Karel Zak | 2018-01-17 13:58:29 +0100 |
---|---|---|
committer | Karel Zak | 2018-01-17 13:58:29 +0100 |
commit | a15dca2f6d0693546138a6a727f019dd8019dee8 (patch) | |
tree | 4ca90e704fea0743180867f7ab7f0592672f8562 /disk-utils/sfdisk.c | |
parent | hwclock: rename --debug option to --verbose (diff) | |
download | kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.tar.gz kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.tar.xz kernel-qcow2-util-linux-a15dca2f6d0693546138a6a727f019dd8019dee8.zip |
include/debug: introduce __UL_INIT_DEBUG_FROM_STRING()
Let's make it possible to use debug.h without environment variables.
Suggested-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.c')
-rw-r--r-- | disk-utils/sfdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index 5a992342a..9f031126f 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -119,7 +119,7 @@ struct sfdisk { static void sfdiskprog_init_debug(void) { - __UL_INIT_DEBUG(sfdisk, SFDISKPROG_DEBUG_, 0, SFDISK_DEBUG); + __UL_INIT_DEBUG_FROM_ENV(sfdisk, SFDISKPROG_DEBUG_, 0, SFDISK_DEBUG); } |