diff --git a/data/images/linux.png b/data/images/linux.png new file mode 100644 index 0000000..dd3f79d Binary files /dev/null and b/data/images/linux.png differ diff --git a/data/images/meson.build b/data/images/meson.build index 5b96c99..341a13a 100644 --- a/data/images/meson.build +++ b/data/images/meson.build @@ -10,5 +10,5 @@ install_data('go-up.png', 'go-down.png', 'sky_04.jpg', 'effects.png', 'info.png', 'clo.png', 'bolt.png', 'menu.png', 'lovethisdogharvey.png', 'application.png', - 'e.png', 'border.png', 'freebsd.png', + 'e.png', 'border.png', 'freebsd.png', 'linux.png', install_dir: join_paths(dir_data, 'evisum/images')) diff --git a/src/bin/system/process.c b/src/bin/system/process.c index 6054b40..5ff5514 100644 --- a/src/bin/system/process.c +++ b/src/bin/system/process.c @@ -365,7 +365,7 @@ _process_list_linux_get(void) p->nice = st.nice; p->priority = st.pri; p->numthreads = st.numthreads; - if (st->flags & PF_KTHREAD) + if (st.flags & PF_KTHREAD) p->is_kernel = 1; _mem_size(p); _cmd_args(p, st.name, sizeof(st.name));