summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 fe04fc9..0640a07 100644
--- a/src/helper/slbt_dump_machine.c
+++ b/src/helper/slbt_dump_machine.c
@@ -47,7 +47,7 @@ int slbt_dump_machine(
char * machine,
size_t buflen)
{
- int ret;
+ ssize_t ret;
pid_t pid;
pid_t rpid;
int code;
@@ -102,7 +102,7 @@ int slbt_dump_machine(
} else {
close(fd[0]);
- return ret;
+ return -1;
}
}