char **main_argv;
int main_argc;
+unsigned char logname[42];
static int print_all_attributes(const char *path)
{
" -n NAME node name used for query\n"
"\n"
" -r print udev root\n"
- " -a print all attributes along the chain of the device\n"
+ " -a print all SYSFS_attributes along the device chain\n"
" -d dump whole database\n"
" -V print udev version\n"
" -h print this help text\n"
main_argv = argv;
main_argc = argc;
+ init_logging("udevinfo");
+
/* initialize our configuration */
udev_init_config();