Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ifmcstat Add a const for the oid list.
details: https://anonhg.NetBSD.org/src/rev/5f6f3896d163
branches: trunk
changeset: 796591:5f6f3896d163
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jun 11 14:05:28 2014 +0000
description:
Add a const for the oid list.
diffstat:
usr.sbin/ifmcstat/ifmcstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f8d6d9ccaccf -r 5f6f3896d163 usr.sbin/ifmcstat/ifmcstat.c
--- a/usr.sbin/ifmcstat/ifmcstat.c Wed Jun 11 14:04:48 2014 +0000
+++ b/usr.sbin/ifmcstat/ifmcstat.c Wed Jun 11 14:05:28 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifmcstat.c,v 1.17 2014/06/10 09:38:30 joerg Exp $ */
+/* $NetBSD: ifmcstat.c,v 1.18 2014/06/11 14:05:28 joerg Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -29,7 +29,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: ifmcstat.c,v 1.17 2014/06/10 09:38:30 joerg Exp $");
+__RCSID("$NetBSD: ifmcstat.c,v 1.18 2014/06/11 14:05:28 joerg Exp $");
#include <err.h>
#include <errno.h>
@@ -101,7 +101,7 @@
}
static void *
-fetch_sysctl(size_t *len, int oids[], size_t oidlen, const char *msg)
+fetch_sysctl(size_t *len, const int oids[], size_t oidlen, const char *msg)
{
void *data;
Home |
Main Index |
Thread Index |
Old Index