Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ata Fix a typo (that I found 5 years ago). Though t...



details:   https://anonhg.NetBSD.org/src/rev/cdb73ac072cc
branches:  trunk
changeset: 778589:cdb73ac072cc
user:      isaki <isaki%NetBSD.org@localhost>
date:      Fri Apr 06 02:52:00 2012 +0000

description:
Fix a typo (that I found 5 years ago).  Though the definition of
atabusiodetach_args is the same as atabusioscan_args (at the moment).

diffstat:

 sys/dev/ata/ata.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 0b2659f0173b -r cdb73ac072cc sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Fri Apr 06 02:51:03 2012 +0000
+++ b/sys/dev/ata/ata.c Fri Apr 06 02:52:00 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ata.c,v 1.115 2011/04/30 00:34:03 jakllsch Exp $       */
+/*     $NetBSD: ata.c,v 1.116 2012/04/06 02:52:00 isaki Exp $  */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.115 2011/04/30 00:34:03 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.116 2012/04/06 02:52:00 isaki Exp $");
 
 #include "opt_ata.h"
 
@@ -1497,8 +1497,8 @@
        }
        case ATABUSIODETACH:
        {
-               struct atabusioscan_args *a=
-                   (struct atabusioscan_args *)addr;
+               struct atabusiodetach_args *a=
+                   (struct atabusiodetach_args *)addr;
                if ((chp->ch_drive[0].drive_flags & DRIVE_OLD) ||
                    (chp->ch_drive[1].drive_flags & DRIVE_OLD))
                        return (EOPNOTSUPP);



Home | Main Index | Thread Index | Old Index