Dmitry V. Levin
89636759d7
Remove temporary macros created for transition from long to kernel_ulong_t. Automatically replace PRI_kr[dux] with PRI_kl[dux] using $ git grep -l 'PRI_kr[dux]' | xargs sed -ri 's/PRI_kr([dux])/PRI_kl\1/g' * defs.h (PRI_krd, PRI_kru, PRI_krx): Remove. All users updated.
14 lines
225 B
C
14 lines
225 B
C
#include "defs.h"
|
|
|
|
SYS_FUNC(getcwd)
|
|
{
|
|
if (exiting(tcp)) {
|
|
if (syserror(tcp))
|
|
printaddr(tcp->u_arg[0]);
|
|
else
|
|
printpathn(tcp, tcp->u_arg[0], tcp->u_rval - 1);
|
|
tprintf(", %" PRI_klu, tcp->u_arg[1]);
|
|
}
|
|
return 0;
|
|
}
|