Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/dev/scsipi/libscsitest Convert the test to cfargs. OK ...
details: https://anonhg.NetBSD.org/src/rev/91ec4be9b9b2
branches: trunk
changeset: 1022800:91ec4be9b9b2
user: cjep <cjep%NetBSD.org@localhost>
date: Sat Aug 07 22:05:26 2021 +0000
description:
Convert the test to cfargs. OK @thorpej.
diffstat:
tests/dev/scsipi/libscsitest/scsitest.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 88d778778ae7 -r 91ec4be9b9b2 tests/dev/scsipi/libscsitest/scsitest.c
--- a/tests/dev/scsipi/libscsitest/scsitest.c Sat Aug 07 21:27:53 2021 +0000
+++ b/tests/dev/scsipi/libscsitest/scsitest.c Sat Aug 07 22:05:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsitest.c,v 1.4 2021/04/25 05:33:20 thorpej Exp $ */
+/* $NetBSD: scsitest.c,v 1.5 2021/08/07 22:05:26 cjep Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsitest.c,v 1.4 2021/04/25 05:33:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsitest.c,v 1.5 2021/08/07 22:05:26 cjep Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -256,6 +256,5 @@
sc->sc_channel.chan_adapter = &sc->sc_adapter;
config_found(self, &sc->sc_channel, scsiprint,
- CFARG_IATTR, "scsi",
- CFARG_EOL);
+ CFARGS(.iattr = "scsi"));
}
Home |
Main Index |
Thread Index |
Old Index