strace/chdir.c

11 lines
123 B
C
Raw Normal View History

#include "defs.h"
int
sys_chdir(struct tcb *tcp)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
}
return 0;
}