svn commit: r249704 - head/usr.bin/gcore
Mikolaj Golub
trociny at FreeBSD.org
Sat Apr 20 15:37:35 UTC 2013
Author: trociny
Date: Sat Apr 20 15:37:33 2013
New Revision: 249704
URL: http://svnweb.freebsd.org/changeset/base/249704
Log:
Wrong cast.
MFC after: 1 month
Modified:
head/usr.bin/gcore/elfcore.c
Modified: head/usr.bin/gcore/elfcore.c
==============================================================================
--- head/usr.bin/gcore/elfcore.c Sat Apr 20 14:55:48 2013 (r249703)
+++ head/usr.bin/gcore/elfcore.c Sat Apr 20 15:37:33 2013 (r249704)
@@ -634,8 +634,7 @@ static void *
elf_note_procstat_groups(void *arg, size_t *sizep)
{
- return (procstat_sysctl(arg, KERN_PROC_GROUPS,
- (int)sizeof(gid_t), sizep));
+ return (procstat_sysctl(arg, KERN_PROC_GROUPS, sizeof(gid_t), sizep));
}
static void *
More information about the svn-src-head
mailing list