diff options
Diffstat (limited to 'common/iomux.c')
-rw-r--r-- | common/iomux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/iomux.c b/common/iomux.c index 1224c15eb71..4844df51fbe 100644 --- a/common/iomux.c +++ b/common/iomux.c @@ -131,7 +131,7 @@ int iomux_doenv(const int console, const char *arg) /* Stop dropped consoles */ for (i = 0; i < repeat; i++) { j = iomux_match_device(cons_set, cs_idx, old_set[i]); - if (j == cs_idx) + if (j == -ENOENT) console_stop(console, old_set[i]); } |