From 9c15427c7cf013626ad4b0e281cb602c03fb1875 Mon Sep 17 00:00:00 2001 From: ppisa Date: Sun, 9 Jul 2006 23:30:05 +0000 Subject: [PATCH] Use "lincan" as syslog messages identification instead of "can.o". --- lincan/include/main.h | 4 ++-- lincan/src/modparms.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lincan/include/main.h b/lincan/include/main.h index 7baf67b..fa98bb2 100644 --- a/lincan/include/main.h +++ b/lincan/include/main.h @@ -13,13 +13,13 @@ #include "./can_queue.h" #ifdef CAN_DEBUG - #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "can.o (debug): " fmt,\ + #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "lincan (debug): " fmt,\ ##args) #else #define DEBUGMSG(fmt,args...) #endif -#define CANMSG(fmt,args...) can_printk(KERN_ERR "can.o: " fmt,##args) +#define CANMSG(fmt,args...) can_printk(KERN_ERR "lincan: " fmt,##args) extern can_spinlock_t canuser_manipulation_lock; diff --git a/lincan/src/modparms.c b/lincan/src/modparms.c index 1782c54..e682113 100644 --- a/lincan/src/modparms.c +++ b/lincan/src/modparms.c @@ -20,7 +20,7 @@ int parse_mod_parms(void) if ( (hw[0] == NULL) | (io[0] == -1) ) { CANMSG("You must supply your type of hardware, interrupt numbers and io address.\n"); - CANMSG("Example: # insmod can.o hw=pip5 irq=4 io=0x8000\n"); + CANMSG("Example: # insmod lincan.ko hw=pip5 irq=4 io=0x8000\n"); return -ENODEV; } -- 2.39.2