diff options
author | Alfred Perlstein <alfred@FreeBSD.org> | 2012-11-01 17:01:05 +0000 |
---|---|---|
committer | Alfred Perlstein <alfred@FreeBSD.org> | 2012-11-01 17:01:05 +0000 |
commit | bad7e7f3dd67f666fcef8032b2a6e46d38e06012 (patch) | |
tree | e8b52ec5f3f944661c5f829b80fa86f03ac121a8 /sys/sys/conf.h | |
parent | 902514f628e8f3f0237d6652fad54c9a966d008b (diff) | |
download | src-bad7e7f3dd67f666fcef8032b2a6e46d38e06012.tar.gz src-bad7e7f3dd67f666fcef8032b2a6e46d38e06012.zip |
Provide a device name in the sysctl tree for programs to query the
state of crashdump target devices.
This will be used to add a "-l" (ell) flag to dumpon(8) to list the
currently configured dumpdev.
Reviewed by: phk
Notes
Notes:
svn path=/head/; revision=242439
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r-- | sys/sys/conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 96d835b3106e..e818722818c4 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -331,7 +331,7 @@ struct dumperinfo { off_t mediasize; /* Space available in bytes. */ }; -int set_dumper(struct dumperinfo *); +int set_dumper(struct dumperinfo *, const char *_devname); int dump_write(struct dumperinfo *, void *, vm_offset_t, off_t, size_t); void dumpsys(struct dumperinfo *); int doadump(boolean_t); |