print_dirfd(struct tcb *tcp, int fd)
{
if (fd == AT_FDCWD)
- tprints("AT_FDCWD, ");
- else {
+ print_xlat_d(AT_FDCWD);
+ else
printfd(tcp, fd);
- tprints(", ");
- }
+
+ tprints(", ");
}
/*
void
tprint_open_modes(unsigned int flags)
{
- tprints(sprint_open_modes(flags) + sizeof("flags"));
+ print_xlat_ex(flags, sprint_open_modes(flags) + sizeof("flags"),
+ XLAT_STYLE_DEFAULT);
}
#ifdef O_TMPFILE