Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common Adapt getmajor...
details: https://anonhg.NetBSD.org/src/rev/447b9494eb9a
branches: trunk
changeset: 343432:447b9494eb9a
user: riz <riz%NetBSD.org@localhost>
date: Wed Feb 03 17:50:12 2016 +0000
description:
Adapt getmajor and getminor signatures for NetBSD.
diffstat:
external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 1541dc61adf7 -r 447b9494eb9a external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c Wed Feb 03 15:28:02 2016 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c Wed Feb 03 17:50:12 2016 +0000
@@ -277,10 +277,10 @@
DT_VERS_1_2, &dt_idops_func, "_symaddr(uintptr_t)" },
{ "getmajor", DT_IDENT_FUNC, 0, DIF_SUBR_GETMAJOR,
DT_ATTR_EVOLCMN, DT_VERS_1_0,
- &dt_idops_func, "genunix`major_t(genunix`dev_t)" },
+ &dt_idops_func, "netbsd`__devmajor_t(netbsd`dev_t)" },
{ "getminor", DT_IDENT_FUNC, 0, DIF_SUBR_GETMINOR,
DT_ATTR_EVOLCMN, DT_VERS_1_0,
- &dt_idops_func, "genunix`minor_t(genunix`dev_t)" },
+ &dt_idops_func, "netbsd`__devminor_t(netbsd`dev_t)" },
{ "htonl", DT_IDENT_FUNC, 0, DIF_SUBR_HTONL, DT_ATTR_EVOLCMN, DT_VERS_1_3,
&dt_idops_func, "uint32_t(uint32_t)" },
{ "htonll", DT_IDENT_FUNC, 0, DIF_SUBR_HTONLL, DT_ATTR_EVOLCMN, DT_VERS_1_3,
Home |
Main Index |
Thread Index |
Old Index