mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
udev/fido_id: fix program name in usage output
This commit is contained in:
parent
7891aa0040
commit
9b2aee4170
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user