Page MenuHomeFreeBSD

D61028.1794678913.diff
No OneTemporary

Authored By
Unknown
Size
657 B
Referenced Files
None
Subscribers
None

D61028.1794678913.diff

diff --git a/usr.bin/sdiotool/sdiotool.c b/usr.bin/sdiotool/sdiotool.c
--- a/usr.bin/sdiotool/sdiotool.c
+++ b/usr.bin/sdiotool/sdiotool.c
@@ -486,7 +486,6 @@
main(int argc, char **argv) {
char device[] = "pass";
int unit = 0;
- int func = 0;
__unused uint8_t *fw_ptr;
int ch;
struct cam_device *cam_dev;
@@ -495,14 +494,11 @@
//fw_ptr = mmap_fw();
- while ((ch = getopt(argc, argv, "fu:")) != -1) {
+ while ((ch = getopt(argc, argv, "u:")) != -1) {
switch (ch) {
case 'u':
unit = (int) strtol(optarg, NULL, 10);
break;
- case 'f':
- func = (int) strtol(optarg, NULL, 10);
- break;
case '?':
default:
usage();

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 5:55 PM (3 m, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41257099
Default Alt Text
D61028.1794678913.diff (657 B)

Event Timeline