[Bug 261657] stat(1) patch: Fix error message formatting

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Feb 2022 17:47:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261657

            Bug ID: 261657
           Summary: stat(1) patch: Fix error message formatting
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jamie@catflap.org

Created attachment 231498
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231498&action=edit
patch to stat(1)

Another fix for stat(1) !

Simple one again. Note the output of typical commands when there is an error:

$                                                                              
                                                                               
                                       $ ls none
ls: none: No such file or directory                                            
                                                                               
                                       $ cat none
cat: none: No such file or directory                                           
                                                                               
                                       $ stat none
stat: none: stat: No such file or directory

"stat" includes its name twice.

patch attached to fix it!

-- 
You are receiving this mail because:
You are the assignee for the bug.