aboutsummaryrefslogtreecommitdiff
path: root/eizoctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'eizoctl.c')
-rw-r--r--eizoctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eizoctl.c b/eizoctl.c
index 4207f99..3081b40 100644
--- a/eizoctl.c
+++ b/eizoctl.c
@@ -817,7 +817,7 @@ eizo_port_to_name(uint16_t port)
else if (!number)
snprintf(buffer, sizeof buffer, "%s", stem);
else
- snprintf(buffer, sizeof buffer, "%s %d", stem, number);
+ snprintf(buffer, sizeof buffer, "%s %d", stem, (number + 1));
return buffer;
}