diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2004-11-11 18:02:31 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2004-11-11 18:02:31 +0000 |
commit | 3a81a7dc36db550106f1f38a0cabf4db5a97aa4c (patch) | |
tree | a8c385fc22eb1d15a34275a213ef126011870407 /sysutils/ataidle | |
parent | c0a473ac403eb6ab7ec3741c5a2f2f25cdb11e86 (diff) |
Notes
Diffstat (limited to 'sysutils/ataidle')
-rw-r--r-- | sysutils/ataidle/files/patch-types | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/ataidle/files/patch-types b/sysutils/ataidle/files/patch-types new file mode 100644 index 000000000000..aa6f6da5aff9 --- /dev/null +++ b/sysutils/ataidle/files/patch-types @@ -0,0 +1,19 @@ +--- main.c Tue Jul 20 19:02:11 2004 ++++ main.c Mon Nov 8 19:53:28 2004 +@@ -67,7 +67,7 @@ + { + int rc = 0; +- int ch, chan, dev = -1; ++ int ch, dev = -1; + struct ATA *ata = (struct ATA*) malloc(sizeof(struct ATA)); +- long opt_val; ++ long opt_val, chan; + uint32_t maxchan = 0; + bool needchandev; +@@ -85,5 +85,5 @@ + + if(!rc && needchandev) +- rc = ata_strtolong(argv[argc-2], (long*) &chan); ++ rc = ata_strtolong(argv[argc-2], &chan); + + if(!rc) |