Mercurial > code > home > repos > light9
changeset 555:1b56c80b1ee4
patch for newer linux kernels which apparently have err() but not info()
Ignore-this: dc59850cb3f6d08aaa9c478aa4e4d4ef
author | drewp@bigasterisk.com |
---|---|
date | Sat, 19 Jun 2010 07:02:35 +0000 |
parents | ab491a0a78e7 |
children | 428cf7f04131 |
files | dmx_usb_module/dmx_usb.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dmx_usb_module/dmx_usb.c Sat Jun 19 06:39:33 2010 +0000 +++ b/dmx_usb_module/dmx_usb.c Sat Jun 19 07:02:35 2010 +0000 @@ -689,7 +689,7 @@ dev->minor = interface->minor; /* let the user know what node this device is now attached to */ - info ("DMX USB device now attached to dmx%d", dev->minor); + err ("info: DMX USB device now attached to dmx%d", dev->minor); return 0; error: @@ -743,7 +743,7 @@ up (&disconnect_sem); - info("DMX USB #%d now disconnected", minor); + err("info: DMX USB #%d now disconnected", minor); } @@ -763,7 +763,7 @@ return result; } - info(DRIVER_DESC " " DRIVER_VERSION); + err("info: " DRIVER_DESC " " DRIVER_VERSION); return 0; }