diff options
| author | 2011-06-15 21:32:03 +0000 | |
|---|---|---|
| committer | 2011-06-15 21:32:03 +0000 | |
| commit | 4425d97409f1c6430b1568f6be4fd1df9a1f669d (patch) | |
| tree | 2e0f016cd9bcd673d466a2ae8d5f16f8fece5dc5 /sys/dev/adb/adb_subr.c | |
| parent | Add the following certs: (diff) | |
| download | wireguard-openbsd-4425d97409f1c6430b1568f6be4fd1df9a1f669d.tar.xz wireguard-openbsd-4425d97409f1c6430b1568f6be4fd1df9a1f669d.zip | |
Add a const char* as first member of struct adb_attach_args, so that we can
pass a struct confargs * on macppc for some specific children of the adb
node, and not confuse real adb device attachments.
ok mpi@
Diffstat (limited to 'sys/dev/adb/adb_subr.c')
| -rw-r--r-- | sys/dev/adb/adb_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/adb/adb_subr.c b/sys/dev/adb/adb_subr.c index c69bf3caab8..d558f9e3593 100644 --- a/sys/dev/adb/adb_subr.c +++ b/sys/dev/adb/adb_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_subr.c,v 1.2 2006/02/09 06:45:41 miod Exp $ */ +/* $OpenBSD: adb_subr.c,v 1.3 2011/06/15 21:32:05 miod Exp $ */ /* $NetBSD: adb.c,v 1.6 1999/08/16 06:28:09 tsubai Exp $ */ /*- @@ -41,6 +41,8 @@ struct cfdriver adb_cd = { NULL, "adb", DV_DULL }; +const char adb_device_name[] = "adb_device"; + int adbprint(void *args, const char *name) { |
