summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-01-31 16:22:14 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-01-31 16:22:14 +0000
commit990132f07db39b80c1ed103e5832adf200834e5f (patch)
tree203912df0c94d587b1ce9bcfaa1290d12fc4520f /sys/ddb
parent748f8a5016743f6b511c89bc40abccf4dfc8bd2a (diff)
Notes
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_textdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_textdump.c b/sys/ddb/db_textdump.c
index a876278066b0..fbfc18f33cb7 100644
--- a/sys/ddb/db_textdump.c
+++ b/sys/ddb/db_textdump.c
@@ -259,8 +259,8 @@ textdump_writeblock(struct dumperinfo *di, off_t offset, char *buffer)
return (EIO);
if (offset < SIZEOF_METADATA)
return (ENOSPC);
- textdump_error = di->dumper(di->priv, buffer, 0, offset +
- di->mediaoffset, TEXTDUMP_BLOCKSIZE);
+ textdump_error = dump_write(di, buffer, 0, offset + di->mediaoffset,
+ TEXTDUMP_BLOCKSIZE);
return (textdump_error);
}
@@ -502,7 +502,7 @@ textdump_dumpsys(struct dumperinfo *di)
* Terminate the dump, report any errors, and clear the pending flag.
*/
if (textdump_error == 0)
- (void)di->dumper(di->priv, NULL, 0, 0, 0);
+ (void)dump_write(di, NULL, 0, 0, 0);
if (textdump_error == ENOSPC)
printf("Insufficient space on dump partition\n");
else if (textdump_error != 0)