git: dac438a9b599 - stable/13 - mips: fix use of dump_append()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jun 2022 21:04:22 UTC
The branch stable/13 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=dac438a9b599cfec13b463a1a8d90283f7ed830f
commit dac438a9b599cfec13b463a1a8d90283f7ed830f
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-06-27 21:00:44 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-06-27 21:02:02 +0000
mips: fix use of dump_append()
Direct commit to stable/13.
Reported by: Jenkins
Fixes: 5a96b88f05d1
---
sys/mips/mips/minidump_machdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/mips/mips/minidump_machdep.c b/sys/mips/mips/minidump_machdep.c
index cbf9a83395a6..5fb1645c8586 100644
--- a/sys/mips/mips/minidump_machdep.c
+++ b/sys/mips/mips/minidump_machdep.c
@@ -85,7 +85,7 @@ write_buffer(struct dumperinfo *di, char *ptr, size_t sz)
wdog_kern_pat(WD_LASTVAL);
if (ptr) {
- error = dump_append(di, ptr, 0, len);
+ error = dump_append(di, ptr, len);
if (error)
return (error);
ptr += len;