diff options
author | mdf <mdf@FreeBSD.org> | 2011-01-19 00:57:58 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2011-01-19 00:57:58 +0000 |
commit | caeebe8c54f48a26f3b4c95db3431267540067a5 (patch) | |
tree | 7a74c504e4b0da0837b930ee1f78aca14bef881e /sys/dev/patm | |
parent | 574efcb2958ba37407e674b3211f97b7ea4e7d3f (diff) | |
download | FreeBSD-src-caeebe8c54f48a26f3b4c95db3431267540067a5.zip FreeBSD-src-caeebe8c54f48a26f3b4c95db3431267540067a5.tar.gz |
Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.
Diffstat (limited to 'sys/dev/patm')
-rw-r--r-- | sys/dev/patm/if_patm_attach.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/patm/if_patm_attach.c b/sys/dev/patm/if_patm_attach.c index 2e01d0f..a52af72 100644 --- a/sys/dev/patm/if_patm_attach.c +++ b/sys/dev/patm/if_patm_attach.c @@ -284,13 +284,13 @@ patm_attach(device_t dev) patm_env_getuint(sc, &sc->debug, "debug"); if (SYSCTL_ADD_PROC(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), - OID_AUTO, "regs", CTLFLAG_RD, sc, 0, patm_sysctl_regs, - "S", "registers") == NULL) + OID_AUTO, "regs", CTLTYPE_OPAQUE | CTLFLAG_RD, sc, 0, + patm_sysctl_regs, "S", "registers") == NULL) goto fail; if (SYSCTL_ADD_PROC(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), - OID_AUTO, "tsq", CTLFLAG_RD, sc, 0, patm_sysctl_tsq, - "S", "TSQ") == NULL) + OID_AUTO, "tsq", CTLTYPE_OPAQUE | CTLFLAG_RD, sc, 0, + patm_sysctl_tsq, "S", "TSQ") == NULL) goto fail; #endif |