diff options
author | phk <phk@FreeBSD.org> | 1995-12-09 20:46:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-09 20:46:06 +0000 |
commit | 587bac24453813fa8b658cf27f22651f41628a6b (patch) | |
tree | b6e13571575faca1d04c6eaa99aba8a9a5297165 | |
parent | 8f20b511b7228671b02076aad1f3032fa5f3e9b2 (diff) | |
download | FreeBSD-src-587bac24453813fa8b658cf27f22651f41628a6b.zip FreeBSD-src-587bac24453813fa8b658cf27f22651f41628a6b.tar.gz |
Change SYSCTL_OPAQUE to take a format string.
-rw-r--r-- | sys/sys/sysctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 8037a95..7e72b9d 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 - * $Id: sysctl.h,v 1.36 1995/12/02 20:40:20 phk Exp $ + * $Id: sysctl.h,v 1.37 1995/12/04 16:48:52 phk Exp $ */ #ifndef _SYS_SYSCTL_H_ @@ -144,9 +144,9 @@ int sysctl_handle_opaque SYSCTL_HANDLER_ARGS; ptr, val, sysctl_handle_int, "I", descr); /* This is anything, specified by a pointer and a lenth */ -#define SYSCTL_OPAQUE(parent, nbr, name, access, ptr, len, descr) \ +#define SYSCTL_OPAQUE(parent, nbr, name, access, ptr, len, fmt, descr) \ SYSCTL_OID(parent, nbr, name, CTLTYPE_OPAQUE|access, \ - ptr, len, sysctl_handle_opaque, "O", descr); + ptr, len, sysctl_handle_opaque, fmt, descr); /* This is a struct, specified by a pointer and type */ #define SYSCTL_STRUCT(parent, nbr, name, access, ptr, type, descr) \ |