Subject: kern/17393: FFS errors are slightly too terse.
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 06/25/2002 16:55:38
>Number:         17393
>Category:       kern
>Synopsis:       FFS errors are slightly too terse.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 25 13:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        NetBSD-current 2002/06/23
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:

	FFS errors are slightly too terse.

>How-To-Repeat:

>Fix:

Index: ffs_alloc.c
===================================================================
RCS file: /cvs/master/m-NetBSD/main/syssrc/sys/ufs/ffs/ffs_alloc.c,v
retrieving revision 1.55
diff -c -c -r1.55 ffs_alloc.c
*** ffs_alloc.c	14 May 2002 02:46:22 -0000	1.55
--- ffs_alloc.c	25 Jun 2002 20:53:31 -0000
***************
*** 1889,1895 ****
  	u_int uid;
  	char *cp;
  {
! 
! 	log(LOG_ERR, "uid %d comm %s on %s: %s\n",
! 	    uid, curproc->p_comm, fs->fs_fsmnt, cp);
  }
--- 1889,1894 ----
  	u_int uid;
  	char *cp;
  {
! 	log(LOG_ERR, "uid %d, pid %d, commmand %s, on %s: %s\n",
! 	    uid, curproc->p_pid, curproc->p_comm, fs->fs_fsmnt, cp);
  }
>Release-Note:
>Audit-Trail:
>Unformatted: