From d85352b4ff51694cb35b429e4cef53302c9e7076 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 Apr 2017 15:57:07 +0200 Subject: [PATCH] factor: fix stray semicolon Signed-off-by: Denys Vlasenko --- coreutils/factor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/factor.c b/coreutils/factor.c index 818414775..205cdc053 100644 --- a/coreutils/factor.c +++ b/coreutils/factor.c @@ -201,7 +201,7 @@ int factor_main(int argc UNUSED_PARAM, char **argv) if (!numstr[0]) break; end = skip_non_whitespace(numstr); - if (*end != '\0'); + if (*end != '\0') *end++ = '\0'; factorize_numstr(numstr); numstr = end;