summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@redhat.com>2006-01-16 01:22:27 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-01-16 01:22:27 +0000
commit68827a7fbc3652ab20771d0ad5b0f77de29c0f08 (patch)
tree55a914c2f366cb6b57098e692c14a2dae867da1b /module
parent135ce0e2ea40e2b7f1170284c1f5db57b08be817 (diff)
Print out sysprof version at module load time.
Sun Jan 15 20:22:20 2006 Soeren Sandmann <sandmann@redhat.com> * module/sysprof-module.c (init_module): Print out sysprof version at module load time.
Diffstat (limited to 'module')
-rw-r--r--module/sysprof-module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/sysprof-module.c b/module/sysprof-module.c
index eb4a4b4..e0dff7f 100644
--- a/module/sysprof-module.c
+++ b/module/sysprof-module.c
@@ -36,6 +36,7 @@
#include <linux/pagemap.h>
#include <linux/profile.h>
+#include "../config.h"
#include "sysprof-module.h"
#include <linux/version.h>
@@ -249,7 +250,7 @@ init_module(void)
return ret;
}
- printk(KERN_ALERT "sysprof: loaded\n");
+ printk(KERN_ALERT "sysprof: loaded (%s)\n", PACKAGE_VERSION);
return 0;
}