[PATCH evemu] Fix warning when using autorestart without output file

Martin Kepplinger martink at posteo.de
Wed Oct 18 13:45:41 UTC 2017


The warning in case of a missing output file when using --autorestart
is talking about --autoresume which doesn't exist. This is confusing so
fix this.

Signed-off-by: Martin Kepplinger <martink at posteo.de>
---
 tools/evemu-record.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/evemu-record.c b/tools/evemu-record.c
index 40693ff..64a32ad 100644
--- a/tools/evemu-record.c
+++ b/tools/evemu-record.c
@@ -303,7 +303,7 @@ int main(int argc, char *argv[])
 
 	if (optind >= argc) {
 		if (autorestart) {
-			fprintf(stderr, "Option --autoresume requires an output file\n");
+			fprintf(stderr, "Option --autorestart requires an output file\n");
 			goto out;
 		}
 	} else {
-- 
2.11.0



More information about the Input-tools mailing list