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 коммит произвёл Greg Kroah-Hartman
Родитель 4fd83e84d5
Коммит f2fb62b371
3 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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)