aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 05:51:36 +0000
committerrsc <devnull@localhost>2004-04-20 05:51:36 +0000
commit6c8856475f496f9e36038d253a4653a23b5db187 (patch)
tree680bd2da9c4c4749347fabf437dc0e28f924420e /src/cmd/acid
parentebd395452e7f81ece3d3877a04fbe26a324f6a3d (diff)
downloadplan9port-6c8856475f496f9e36038d253a4653a23b5db187.tar.gz
plan9port-6c8856475f496f9e36038d253a4653a23b5db187.tar.bz2
plan9port-6c8856475f496f9e36038d253a4653a23b5db187.zip
acid on freebsd
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/builtin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/acid/builtin.c b/src/cmd/acid/builtin.c
index 492fdfb4..290b3c69 100644
--- a/src/cmd/acid/builtin.c
+++ b/src/cmd/acid/builtin.c
@@ -633,6 +633,7 @@ doaccess(Node *r, Node *args)
r->op = OCONST;
r->type = TINT;
+ r->store.fmt = 'D';
r->store.u.ival = 0;
if(access(res.store.u.string->string, 4) == 0)
r->store.u.ival = 1;