]> granicus.if.org Git - procps-ng/commitdiff
ps: eliminated inadvertent trailing double semi-colons
authorJim Warner <james.warner@comcast.net>
Wed, 11 Mar 2020 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Fri, 10 Apr 2020 04:37:15 +0000 (14:37 +1000)
Signed-off-by: Jim Warner <james.warner@comcast.net>
ps/parser.c

index bdfe5b43ab7b341ede262ff94c8fd56ae944e075..1230f3ef0ed4e8148d4b8ce8c0bf21ebc8fb3558 100644 (file)
@@ -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;