]> 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>
Thu, 20 Mar 2025 13:18:14 +0000 (14:18 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/irqtop.c
sys-utils/lsirq.c

index 99f2f6041759e3ae5711141dd9a7f4d7445ca84d..c7222f1d3335fafcf0269874db88cb8672fab103 100644 (file)
@@ -475,6 +475,8 @@ int main(int argc, char **argv)
                curs_set(0);
        }
 
+       scols_init_debug(0);
+
        ctl.hostname = xgethostname();
        event_loop(&ctl, &out);
 
index 0b3e4c2416eab0a6ef467321d11abddfe3b4d3df..e9bcbfaa937b2313cd67193a09a454576ec85be6 100644 (file)
@@ -188,6 +188,8 @@ int main(int argc, char **argv)
                                irq_column_name_to_id) < 0)
                exit(EXIT_FAILURE);
 
+       scols_init_debug(0);
+
        if (print_irq_data(input_file, &out, softirq, threshold, setsize, cpuset) < 0)
                return EXIT_FAILURE;