From 3b21d367d36852fbba88a43c0534fb64b91307a6 Mon Sep 17 00:00:00 2001 From: turbocat Date: Thu, 29 Apr 2021 20:47:26 +0000 Subject: [PATCH] Driver example: - Removed printk. - c_drv.dll file has become smaller than (6kb-> 407b) git-svn-id: svn://kolibrios.org@8704 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/examples/c_drv/c_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/examples/c_drv/c_drv.c b/drivers/examples/c_drv/c_drv.c index 3d4ccaaa22..78bad7da0b 100644 --- a/drivers/examples/c_drv/c_drv.c +++ b/drivers/examples/c_drv/c_drv.c @@ -1,4 +1,3 @@ -#include "linux/kernel.h" #include #include @@ -16,6 +15,6 @@ static int __stdcall service_proc(ioctl_t *my_ctl){ } unsigned drvEntry(int action, char *cmdline){ - printk("Driver c_drv.dll loaded!\n"); + SysMsgBoardStr("Driver c_drv.dll loaded!\n"); return RegService("c_drv", service_proc); }