diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-20 05:06:31 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-05-20 05:06:31 +0200 |
commit | 3207e8b6a4339f39e2261d1f1878e8049b65c23c (patch) | |
tree | 07059a72dc0bc5fe6ef2c47fcc69fb5f584f670b /sys/src/9/port/syscallfmt.c | |
parent | 7abf926bcf5a4f301a9ab48173093524196fd8ce (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/syscallfmt.c')
-rw-r--r-- | sys/src/9/port/syscallfmt.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |