[Pdbg] [PATCH] htm: Add missing return value
Michael Neuling
mikey at neuling.org
Fri Jul 13 14:53:11 AEST 2018
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
libpdbg/htm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpdbg/htm.c b/libpdbg/htm.c
index a494493935..eecae3c182 100644
--- a/libpdbg/htm.c
+++ b/libpdbg/htm.c
@@ -1069,7 +1069,7 @@ static int do_htm_dump(struct htm *htm, char *filename)
}
/* Copy start -> last */
- lseek(trace_fd, 0, SEEK_SET);
+ r = lseek(trace_fd, 0, SEEK_SET);
if (r == -1)
goto out1;
r = copy_file(dump_fd, trace_fd, last);
--
2.17.1
More information about the Pdbg
mailing list