|
@@ -381,6 +381,9 @@ void prepare_cmd_entry(struct videohub_data *d, struct vcmd_entry *e) {
|
381
|
381
|
void format_cmd_text(struct vcmd_entry *e, char *buf, unsigned int bufsz) {
|
382
|
382
|
switch (e->cmd) {
|
383
|
383
|
case CMD_INPUT_LABELS:
|
|
384
|
+ snprintf(buf, bufsz, "%s:\n%u %s\n\n", get_cmd_text(e->cmd),
|
|
385
|
+ e->port_no1 - 1, e->param2);
|
|
386
|
+ break;
|
384
|
387
|
case CMD_OUTPUT_LABELS:
|
385
|
388
|
snprintf(buf, bufsz, "%s:\n%u %s\n\n", get_cmd_text(e->cmd),
|
386
|
389
|
e->port_no1 - 1, e->param2);
|