summaryrefslogtreecommitdiffhomepage
path: root/src/helper/slbt_dump_machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/slbt_dump_machine.c')
-rw-r--r--src/helper/slbt_dump_machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/slbt_dump_machine.c b/src/helper/slbt_dump_machine.c
index 3e0c65d..fe04fc9 100644
--- a/src/helper/slbt_dump_machine.c
+++ b/src/helper/slbt_dump_machine.c
@@ -113,13 +113,13 @@ int slbt_dump_machine(
0);
if ((rpid != pid) || code) {
- errno = EBADR;
+ errno = ESTALE;
return -1;
}
/* newline verification */
if ((mark == machine) || (*--mark != '\n')) {
- errno = EBADR;
+ errno = ERANGE;
return -1;
}