staging: usbip: userspace: libsrc: set program name for logging

Set the program name to "libusbip" to identify that the message is
from the library code.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
matt mooney 2011-06-19 22:44:35 -07:00 committed by Greg Kroah-Hartman
parent 4fd83e84d5
commit f2fb62b371
3 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,9 @@
#include "usbip.h"
#undef PROGNAME
#define PROGNAME "libusbip"
struct usbip_stub_driver *stub_driver;
static struct sysfs_driver *open_sysfs_stub_driver(void)

View File

@ -5,6 +5,9 @@
#include "usbip.h"
#include "names.h"
#undef PROGNAME
#define PROGNAME "libusbip"
int usbip_use_syslog = 0;
int usbip_use_stderr = 0;
int usbip_use_debug = 0;

View File

@ -5,6 +5,9 @@
#include "usbip.h"
#undef PROGNAME
#define PROGNAME "libusbip"
struct usbip_vhci_driver *vhci_driver;
static struct usbip_imported_device *imported_device_init(struct usbip_imported_device *idev, char *busid)