]> granicus.if.org Git - strace/blobdiff - mem.c
Fix decoding and dumping of readv syscall in case of short read
[strace] / mem.c
diff --git a/mem.c b/mem.c
index c7c41cff0f3c87379e745ba6b11a14a727d915df..37c7daba88dfc3b7ef322a25bc6d3e5291bcc4bd 100644 (file)
--- a/mem.c
+++ b/mem.c
@@ -292,9 +292,7 @@ SYS_FUNC(mincore)
  || defined SPARC || defined SPARC64
 SYS_FUNC(getpagesize)
 {
-       if (exiting(tcp))
-               return RVAL_HEX;
-       return 0;
+       return RVAL_DECODED | RVAL_HEX;
 }
 #endif