return RVAL_OCTAL;
}
-static const struct xlat whence[] = {
+static const struct xlat whence_codes[] = {
{ SEEK_SET, "SEEK_SET" },
{ SEEK_CUR, "SEEK_CUR" },
{ SEEK_END, "SEEK_END" },
tprintf(", %llu, ", offset);
else
tprintf(", %lld, ", offset);
- printxval(whence, whence, "SEEK_???");
+ printxval(whence_codes, whence, "SEEK_???");
}
return RVAL_LUDECIMAL;
}
tprintf(", %lu, ", offset);
else
tprintf(", %ld, ", offset);
- printxval(whence, whence, "SEEK_???");
+ printxval(whence_codes, whence, "SEEK_???");
}
return RVAL_UDECIMAL;
}
tprintf(", %lu, ", offset);
else
tprintf(", %ld, ", offset);
- printxval(whence, whence, "SEEK_???");
+ printxval(whence_codes, whence, "SEEK_???");
}
return RVAL_UDECIMAL;
}
tprintf("%#lx, ", tcp->u_arg[3]);
else
tprintf("[%llu], ", off);
- printxval(whence, tcp->u_arg[4], "SEEK_???");
+ printxval(whence_codes, tcp->u_arg[4], "SEEK_???");
}
return 0;
}