Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2006 20:10:58 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 108277 for review
Message-ID:  <200610222010.k9MKAwMT070510@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108277

Change 108277 by rdivacky@rdivacky_witten on 2006/10/22 20:10:15

	Sync struct sysinfo with recent linux version.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#17 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#17 (text+ko) ====

@@ -114,10 +114,11 @@
 	l_ulong		totalswap;	/* Total swap space size */
 	l_ulong		freeswap;	/* swap space still available */
 	l_ushort	procs;		/* Number of current processes */
+	l_ushort	pads;
 	l_ulong		totalbig;
 	l_ulong		freebig;
 	l_uint		mem_unit;
-	char		_f[6];		/* Pads structure to 64 bytes */
+	char		_f[20-2*sizeof(l_long)-sizeof(l_int)];		/* Pads structure */
 };
 int
 linux_sysinfo(struct thread *td, struct linux_sysinfo_args *args)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610222010.k9MKAwMT070510>