Module Name:    src
Committed By:   isaki
Date:           Fri Apr  6 02:52:00 UTC 2012

Modified Files:
        src/sys/dev/ata: ata.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ata/ata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ata/ata.c
diff -u src/sys/dev/ata/ata.c:1.115 src/sys/dev/ata/ata.c:1.116
--- src/sys/dev/ata/ata.c:1.115	Sat Apr 30 00:34:03 2011
+++ src/sys/dev/ata/ata.c	Fri Apr  6 02:52:00 2012
@@ -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 @@ atabusioctl(dev_t dev, u_long cmd, void 
 	}
 	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);

Reply via email to