]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev/fido_id: fix program name in usage output
authorDavid Tardon <dtardon@redhat.com>
Fri, 11 Oct 2019 12:39:56 +0000 (14:39 +0200)
committerDavid Tardon <dtardon@redhat.com>
Fri, 11 Oct 2019 12:44:53 +0000 (14:44 +0200)
src/udev/fido_id/fido_id.c

index 5afd5ddb80a8cfda3b422e609a7b7b3f5897e55d..83761d72b4534cbd344a93add82ccc6d7cad8b1a 100644 (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);