summaryrefslogtreecommitdiff
path: root/sys/src/cmd/upas/fs/plan9.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/upas/fs/plan9.c')
-rw-r--r--sys/src/cmd/upas/fs/plan9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/fs/plan9.c b/sys/src/cmd/upas/fs/plan9.c
index 2c793b40a..11fe1223a 100644
--- a/sys/src/cmd/upas/fs/plan9.c
+++ b/sys/src/cmd/upas/fs/plan9.c
@@ -34,7 +34,7 @@ chkunix0(char *s, int n)
return -1;
if(memtotm(p, n - (p - s), &tm) < 0)
return -1;
- if(tm2sec(&tm) < 1000000)
+ if(tmnorm(&tm) < 1000000)
return -1;
return 0;
}