projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7891aa0
)
udev/fido_id: fix program name in usage output
author
David Tardon
<dtardon@redhat.com>
Fri, 11 Oct 2019 12:39:56 +0000
(14:39 +0200)
committer
David Tardon
<dtardon@redhat.com>
Fri, 11 Oct 2019 12:44:53 +0000
(14:44 +0200)
src/udev/fido_id/fido_id.c
patch
|
blob
|
history
diff --git
a/src/udev/fido_id/fido_id.c
b/src/udev/fido_id/fido_id.c
index
5afd5dd
..
83761d7
100644
(file)
--- a/
src/udev/fido_id/fido_id.c
+++ b/
src/udev/fido_id/fido_id.c
@@
-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);