aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/computer.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-06 12:47:33 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2007-01-06 12:47:33 +0000
commit5862c823a3dca7a95027134b05b731d46d0db1d7 (patch)
treed02cb0811f08442cb5fa6eaeeead159f69b1ac06 /hardinfo2/computer.c
parentbe3013df51de306e4494419c595727569ad2c284 (diff)
Let the fun begin! :)
Diffstat (limited to 'hardinfo2/computer.c')
-rw-r--r--hardinfo2/computer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hardinfo2/computer.c b/hardinfo2/computer.c
index a9bd3a93..b1fd029a 100644
--- a/hardinfo2/computer.c
+++ b/hardinfo2/computer.c
@@ -357,17 +357,17 @@ gchar *callback_users()
"%s\n", human_users, sys_users);
}
-gchar *get_is_linux_24(void)
+gchar *get_os_kernel(void)
{
scan_os(FALSE);
- return strstr(computer->os->kernel, "Linux 2.4") ? "" : NULL;
+ return computer->os->kernel;
}
ShellModuleMethod*
hi_exported_methods(void)
{
static ShellModuleMethod m[] = {
- { "isLinux2.4", get_is_linux_24 },
+ { "getOSKernel", get_os_kernel },
{ NULL }
};