diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-03-20 21:15:54 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-03-20 21:15:54 +0000 |
| commit | 2a53bfbe628abe5bf0bdf4a51c988cfed3c0f265 (patch) | |
| tree | 02b7da0e45cf775a33e5e6e633534073db9a2f98 | |
| parent | b254666064a5932d00e2246079b9a262513ab127 (diff) | |
Notes
| -rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index f3d6783480c9..f8c4fab8c12f 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -2144,11 +2144,11 @@ ffs_fserr(fs, inum, cp) ino_t inum; char *cp; { - struct proc *p = curproc; /* XXX */ + struct thread *td = curthread; /* XXX */ + struct proc *p = td->td_proc; log(LOG_ERR, "pid %d (%s), uid %d inumber %d on %s: %s\n", - p ? p->p_pid : -1, p ? p->p_comm : "-", - p ? p->p_ucred->cr_uid : 0, inum, fs->fs_fsmnt, cp); + p->p_pid, p->p_comm, td->td_ucred->cr_uid, inum, fs->fs_fsmnt, cp); } /* |
