summaryrefslogtreecommitdiff
path: root/sys/src/9/port/sysfile.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-05-20 05:06:31 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-05-20 05:06:31 +0200
commit3207e8b6a4339f39e2261d1f1878e8049b65c23c (patch)
tree07059a72dc0bc5fe6ef2c47fcc69fb5f584f670b /sys/src/9/port/sysfile.c
parent7abf926bcf5a4f301a9ab48173093524196fd8ce (diff)
add _nsec() syscall 53 for binary compatibility with labs distribution
the new syscall is added under the symbol _nsec() for binary compatibility. nsec() is still a library function reading /dev/bintime.
Diffstat (limited to 'sys/src/9/port/sysfile.c')
-rw-r--r--sys/src/9/port/sysfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/port/sysfile.c b/sys/src/9/port/sysfile.c
index 260b324ad..9dfeb5371 100644
--- a/sys/src/9/port/sysfile.c
+++ b/sys/src/9/port/sysfile.c
@@ -879,6 +879,7 @@ sysseek(va_list list)
vlong n, *v;
v = va_arg(list, vlong*);
+ evenaddr((uintptr)v);
validaddr((uintptr)v, sizeof(vlong), 1);
fd = va_arg(list, int);