Skip to content

Display and control your Android device

Fix orientation error message

chengjiansubad218308718
diff --git a/app/src/cli.c b/app/src/cli.c
index c3a95583..9373bdbd 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -1729,7 +1729,7 @@ parse_orientation(const char *s, enum sc_orientation *orientation) {
return true;
}
LOGE("Unsupported orientation: %s (expected 0, 90, 180, 270, flip0, "
- "flip90, flip180 or flip270)", optarg);
+ "flip90, flip180 or flip270)", s);
return false;
}