From 3207e8b6a4339f39e2261d1f1878e8049b65c23c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 20 May 2014 05:06:31 +0200 Subject: 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. --- sys/src/9/port/syscallfmt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/src/9/port/syscallfmt.c') diff --git a/sys/src/9/port/syscallfmt.c b/sys/src/9/port/syscallfmt.c index 3d1753b02..803481835 100644 --- a/sys/src/9/port/syscallfmt.c +++ b/sys/src/9/port/syscallfmt.c @@ -297,6 +297,10 @@ syscallfmt(ulong syscallno, uintptr pc, va_list list) fmtprint(&fmt, " %lld", vl); } break; + case _NSEC: + v = va_arg(list, vlong*); + fmtprint(&fmt, "%#p", v); + break; } a = fmtstrflush(&fmt); -- cgit v1.2.3