daemon/main: Formating fixup

This commit is contained in:
Yuki Joou 2023-08-27 20:58:49 +02:00
parent 6b45fb4430
commit e48e5a52cf

View file

@ -10,9 +10,9 @@
#include <libusb-1.0/libusb.h> #include <libusb-1.0/libusb.h>
#include "accel_monitor.h" #include "accel_monitor.h"
#include "device_information.h"
#include "output_manager.h" #include "output_manager.h"
#include "usb_device_detection.h" #include "usb_device_detection.h"
#include "device_information.h"
static struct device_information get_device_info_for_name( static struct device_information get_device_info_for_name(
char const* const device_name) char const* const device_name)
@ -31,7 +31,10 @@ static struct device_information get_device_info_for_name(
if (strcmp(current.device_name, device_name) == 0) return current; if (strcmp(current.device_name, device_name) == 0) return current;
} }
fprintf(stderr, "No matching configuration for '%s'.\n", device_name); fprintf(stderr,
"No matching configuration for '%s'. Using the generic "
"configuration.\n",
device_name);
return DEVICE_INFORMATION_GENERIC; return DEVICE_INFORMATION_GENERIC;
} }