diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2022-05-13 13:40:05 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2022-05-13 13:43:19 +0000 |
commit | db71383b8836a586051b25c20992066d153c6941 (patch) | |
tree | 94d8d783e8aecb1668495d13d10f168a7ff31f08 /sys/ddb | |
parent | 489ba2223676ec251ab1bfe2906d2a62959c8ce3 (diff) | |
download | src-db71383b8836a586051b25c20992066d153c6941.tar.gz src-db71383b8836a586051b25c20992066d153c6941.zip |
kerneldump: remove physical from dump routines
It is unused, especially now that the underlying d_dumper methods do not
accept the argument.
Reviewed by: markj
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35174
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_textdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_textdump.c b/sys/ddb/db_textdump.c index 539b51e58e1c..aad8b6965318 100644 --- a/sys/ddb/db_textdump.c +++ b/sys/ddb/db_textdump.c @@ -248,7 +248,7 @@ textdump_writeblock(struct dumperinfo *di, off_t offset, char *buffer) return (EIO); if (offset < SIZEOF_METADATA) return (ENOSPC); - textdump_error = dump_write(di, buffer, 0, offset + di->mediaoffset, + textdump_error = dump_write(di, buffer, offset + di->mediaoffset, TEXTDUMP_BLOCKSIZE); if (textdump_error) printf("textdump_writeblock: offset %jd, error %d\n", (intmax_t)offset, @@ -501,7 +501,7 @@ textdump_dumpsys(struct dumperinfo *di) * Terminate the dump, report any errors, and clear the pending flag. */ if (textdump_error == 0) - (void)dump_write(di, NULL, 0, 0, 0); + (void)dump_write(di, NULL, 0, 0); if (textdump_error == ENOSPC) printf("Textdump: Insufficient space on dump partition\n"); else if (textdump_error != 0) |