summaryrefslogtreecommitdiff
path: root/cmd/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/host.c')
-rw-r--r--cmd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/host.c b/cmd/host.c
index cd9c9677f0..ff119da738 100644
--- a/cmd/host.c
+++ b/cmd/host.c
@@ -51,7 +51,7 @@ static int do_host_bind(struct cmd_tbl *cmdtp, int flag, int argc,
printf("** Bad device specification %s **\n", dev_str);
return CMD_RET_USAGE;
}
- return host_dev_bind(dev, file);
+ return !!host_dev_bind(dev, file);
}
static int do_host_info(struct cmd_tbl *cmdtp, int flag, int argc,