udev/fido_id: fix program name in usage output

This commit is contained in:
David Tardon 2019-10-11 14:39:56 +02:00
parent 7891aa0040
commit 9b2aee4170

View file

@ -44,7 +44,7 @@ static int run(int argc, char **argv) {
log_open();
if (argc > 2)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Usage: hidraw_id [SYSFS_PATH]");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Usage: %s [SYSFS_PATH]", program_invocation_short_name);
if (argc == 1) {
r = device_new_from_strv(&device, environ);