From b8f757080a8e23a3ff3d8db4d6d02992be7259eb Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Wed, 11 Mar 2020 00:00:00 -0500 Subject: [PATCH] ps: eliminated inadvertent trailing double semi-colons Signed-off-by: Jim Warner --- ps/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ps/parser.c b/ps/parser.c index bdfe5b43..1230f3ef 100644 --- a/ps/parser.c +++ b/ps/parser.c @@ -140,7 +140,7 @@ static const char *parse_tty(char *str, sel_union *ret){ char path[4096]; if(str[0]=='/'){ if(stat(str, &sbuf) >= 0) goto found_it; - return _("TTY could not be found");; + return _("TTY could not be found"); } #define lookup(p) \ snprintf(path,4096,p,str); \ @@ -164,7 +164,7 @@ static const char *parse_tty(char *str, sel_union *ret){ return 0; } #undef lookup - return _("TTY could not be found");; + return _("TTY could not be found"); found_it: if(!S_ISCHR(sbuf.st_mode)) return _("list member was not a TTY"); ret->tty = sbuf.st_rdev;