summaryrefslogtreecommitdiff
path: root/switchctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'switchctl.c')
-rw-r--r--switchctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/switchctl.c b/switchctl.c
index d603fc2..97202b7 100644
--- a/switchctl.c
+++ b/switchctl.c
@@ -379,7 +379,7 @@ int process_cmd_mode(const char* param, int fd, cmd_t **cmd_q, options_t* opt, c
ch_from = "master_main";
else if(old_mode == MODE_MASTER && opt->channel_master_ == CHAN_MUSIC)
ch_from = "master_music";
- else if(old_mode == MODE_STANDBY && opt->channel_standy_ == CHAN_MAIN)
+ else if(old_mode == MODE_STANDBY && opt->channel_standby_ == CHAN_MAIN)
ch_from = "standby_main";
else if(old_mode == MODE_STANDBY && opt->channel_standby_ == CHAN_MUSIC)
ch_from = "standby_music";