diff options
author | peter <peter@FreeBSD.org> | 1996-08-24 13:43:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-08-24 13:43:46 +0000 |
commit | 5de1717df65217d69ab1d759c49815a133dc2a86 (patch) | |
tree | dae0e1aad0834644c124ba8995f8c379a47a4aef /usr.bin/fstat/fstat.c | |
parent | 73b870d08718378d7ccc3271d6fe94762ee3be6a (diff) | |
download | FreeBSD-src-5de1717df65217d69ab1d759c49815a133dc2a86.zip FreeBSD-src-5de1717df65217d69ab1d759c49815a133dc2a86.tar.gz |
Locate the text inode, closes PR#1070
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r-- | usr.bin/fstat/fstat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index f92c175..fe4b7d0 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -332,6 +332,11 @@ dofiles(kp) if (p->p_tracep) vtrans(p->p_tracep, TRACE, FREAD|FWRITE); /* + * text vnode, if one + */ + if (p->p_textvp) + vtrans(p->p_textvp, TEXT, FREAD); + /* * open files */ #define FPSIZE (sizeof (struct file *)) |