summaryrefslogtreecommitdiff
path: root/tools/evemu-play.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/evemu-play.c')
-rw-r--r--tools/evemu-play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/evemu-play.c b/tools/evemu-play.c
index d819567..84aa668 100644
--- a/tools/evemu-play.c
+++ b/tools/evemu-play.c
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
}
fd = open(argv[1], O_WRONLY);
if (fd < 0) {
- fprintf(stderr, "error: could not open device\n");
+ fprintf(stderr, "error: could not open device (%m)\n");
return -1;
}
if (evemu_play(stdin, fd)) {