aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ataidle
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ataidle')
-rw-r--r--sysutils/ataidle/files/patch-types19
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)