aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/__fxstatat64.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/__fxstatat64.c')
-rw-r--r--ports/linux/guts/__fxstatat64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/linux/guts/__fxstatat64.c b/ports/linux/guts/__fxstatat64.c
index b989e7b..62fc3f1 100644
--- a/ports/linux/guts/__fxstatat64.c
+++ b/ports/linux/guts/__fxstatat64.c
@@ -47,7 +47,7 @@
* don't need to check for a symlink on this end
*/
msg = pseudo_client_op(OP_STAT, 0, -1, dirfd, path, buf);
- if (msg) {
+ if (msg && msg->result == RESULT_SUCCEED) {
pseudo_stat_msg(buf, msg);
}