Signed-off-by: Honggang Li <honli@xxxxxxxxxx> --- ibsim/sim_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibsim/sim_cmd.c b/ibsim/sim_cmd.c index fa5ff9baea6b..e2fe6ba6dddb 100644 --- a/ibsim/sim_cmd.c +++ b/ibsim/sim_cmd.c @@ -494,7 +494,7 @@ static int do_set_guid(FILE * f, char *line) while (isspace(*s)) s++; - if (!s) + if (!*s) return 0; new_guid = strtoull(s, &end, 0); -- 2.15.0-rc1