diff options
author | rsc <devnull@localhost> | 2005-09-13 02:56:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-13 02:56:00 +0000 |
commit | df4bcf4686200101b2cca8698d7c985ee4dcc09a (patch) | |
tree | e9314f473d2e7b61f27bfbc600982d6abe4c2579 /src/cmd/vac | |
parent | 715e3ca6413781cb782b2ff65c283012a755577b (diff) | |
download | plan9port-df4bcf4686200101b2cca8698d7c985ee4dcc09a.tar.gz plan9port-df4bcf4686200101b2cca8698d7c985ee4dcc09a.tar.bz2 plan9port-df4bcf4686200101b2cca8698d7c985ee4dcc09a.zip |
Fix vacfilegetmode.
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/file.c | 6 | ||||
-rw-r--r-- | src/cmd/vac/vac.h | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/cmd/vac/file.c b/src/cmd/vac/file.c index c79b0108..e5629aed 100644 --- a/src/cmd/vac/file.c +++ b/src/cmd/vac/file.c @@ -993,12 +993,6 @@ vacfileisdir(VacFile *f) } int -vacfilegetmode(VacFile *f) -{ - return f->dir.mode; -} - -int vacfileisroot(VacFile *f) { return f == f->fs->root; diff --git a/src/cmd/vac/vac.h b/src/cmd/vac/vac.h index 7e1d0884..9d0cf525 100644 --- a/src/cmd/vac/vac.h +++ b/src/cmd/vac/vac.h @@ -122,7 +122,7 @@ uvlong vacfilegetid(VacFile *file); ulong vacfilegetmcount(VacFile *file); int vacfileisdir(VacFile *file); int vacfileisroot(VacFile *file); -int vacfilegetmode(VacFile *file); +ulong vacfilegetmode(VacFile *file); int vacfilegetblocksize(VacFile *file, u32int bn, u8int *score); int vacfilegetsize(VacFile *file, uvlong *size); int vacfilegetdir(VacFile *file, VacDir *dir); |