]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
irqtop,lsirq: use scols debug
authorKarel Zak <kzak@redhat.com>
Thu, 20 Mar 2025 13:18:14 +0000 (14:18 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 24 Mar 2025 13:49:28 +0000 (14:49 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit b7f5e6bba0b77c50eff53d5a9079403cde4cfc18)

sys-utils/irqtop.c
sys-utils/lsirq.c

index ce6a2ca5b700cf928019da69664b9fabc4160013..c8674dcbe9450b5288c895ffae543c67e45cb318 100644 (file)
@@ -408,6 +408,8 @@ int main(int argc, char **argv)
 #endif
        curs_set(0);
 
+       scols_init_debug(0);
+
        ctl.hostname = xgethostname();
        event_loop(&ctl, &out);
 
index a389f249e625b9ff83c14cdd5ae3abf5293c099d..6c18953376d4c118129f2dea2a0f7a560376fa4e 100644 (file)
@@ -174,6 +174,8 @@ int main(int argc, char **argv)
                                irq_column_name_to_id) < 0)
                exit(EXIT_FAILURE);
 
+       scols_init_debug(0);
+
        if (print_irq_data(&out, softirq, threshold, setsize, cpuset) < 0)
                return EXIT_FAILURE;