Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <linux/module.h>
- static int __init program_init(void)
- {
- pr_notice("Sciezka do aktualnie wykonywanego modulu: %s\n", __FILE__);
- pr_notice("Numer linii, ktora aktualnie sie wykonuje: %d\n", __LINE__);
- return 0;
- }
- static void __exit program_exit(void)
- {
- }
- module_init(program_init);
- module_exit(program_exit);
- MODULE_LICENSE("GPL");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement