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:
Родитель
4fd83e84d5
Коммит
f2fb62b371
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче