<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/sysctl, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC rev 1.64 sysctl.8</title>
<updated>2007-12-02T08:48:30+00:00</updated>
<author>
<name>Remko Lodder</name>
<email>remko@FreeBSD.org</email>
</author>
<published>2007-12-02T08:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=216acdaa1a332578467463b7b3a4b6b1af2e1d86'/>
<id>216acdaa1a332578467463b7b3a4b6b1af2e1d86</id>
<content type='text'>
  Remove mentionings of kern.dumpdev which is no longer available.

  PR:             docs/113570
  Submitted by:   lawrance
  MFC After:      3 days (where applicable)

Approved by:	re (hrs)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Remove mentionings of kern.dumpdev which is no longer available.

  PR:             docs/113570
  Submitted by:   lawrance
  MFC After:      3 days (where applicable)

Approved by:	re (hrs)
</pre>
</div>
</content>
</entry>
<entry>
<title>document hw.realmem</title>
<updated>2007-08-24T20:38:09+00:00</updated>
<author>
<name>Daniel Gerzo</name>
<email>danger@FreeBSD.org</email>
</author>
<published>2007-08-24T20:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=046bcd1bcf6a1697fb04971551222d319dfaf929'/>
<id>046bcd1bcf6a1697fb04971551222d319dfaf929</id>
<content type='text'>
Submitted by:	cnst@ (Constantine A. Murenin)
Sponsored by:	Google Summer of Code 2007
Approved by:	re@ (bmah)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	cnst@ (Constantine A. Murenin)
Sponsored by:	Google Summer of Code 2007
Approved by:	re@ (bmah)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>When we return from a "show" function without printing anything except</title>
<updated>2007-06-11T13:02:15+00:00</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2007-06-11T13:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b6b665bfdd753de0ebf4d7408849ee429f9267d'/>
<id>6b6b665bfdd753de0ebf4d7408849ee429f9267d</id>
<content type='text'>
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level callers don't print a spurious newline.
This is mainly to fix output formatting when stderr is redirected.  It
also helps in some cases when stderr is interleaved with stdout,
depending on the details of the interleaving (this program has the
usual null explicit support for syncing stderr with stdout).

Return 1 instead of -1 after printing the "malloc failed" warning, since
the return value is boolean.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some improvements to the int-type printing code based on suggestions by bde.</title>
<updated>2007-06-10T20:11:52+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T20:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e37d2b30014cfa87db0900a0fc68d60c6b39fc84'/>
<id>e37d2b30014cfa87db0900a0fc68d60c6b39fc84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a number of WARNS, including printf, constness and unsigned comparison</title>
<updated>2007-06-10T19:32:20+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T19:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd8c668afc316c97548dbd53507ad740fcf1d40c'/>
<id>fd8c668afc316c97548dbd53507ad740fcf1d40c</id>
<content type='text'>
warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some style improvements suggested by bde, including removing an</title>
<updated>2007-06-10T19:13:40+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-10T19:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=21e1f59618c5de0e952906098fd0d05938895178'/>
<id>21e1f59618c5de0e952906098fd0d05938895178</id>
<content type='text'>
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and sorting some variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and sorting some variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use common code for printing ints and longs by coppying the sysctl</title>
<updated>2007-06-04T18:02:23+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2007-06-04T18:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=41e419cb61df7a705a772545b7b33db14c0b3d5d'/>
<id>41e419cb61df7a705a772545b7b33db14c0b3d5d</id>
<content type='text'>
value into a variable of the right type and then printing it via
an intmax_t. This makes avoids some duplication and makes it easy
to add a new integer format Q for printing things of type CTLTYPE_QUAD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
value into a variable of the right type and then printing it via
an intmax_t. This makes avoids some duplication and makes it easy
to add a new integer format Q for printing things of type CTLTYPE_QUAD.
</pre>
</div>
</content>
</entry>
<entry>
<title>Style: Shorten a couple of lines with u_int and u_long.</title>
<updated>2006-12-10T06:36:41+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2006-12-10T06:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f195a1221fb14443b3a83f46eeb748e17a7f5cb6'/>
<id>f195a1221fb14443b3a83f46eeb748e17a7f5cb6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Revert signedness type changes to "struct vmtotal"; by making</title>
<updated>2006-11-28T12:46:02+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-11-28T12:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bad4d172b4512bf80adc9f64dbb4bde74cc6bd98'/>
<id>bad4d172b4512bf80adc9f64dbb4bde74cc6bd98</id>
<content type='text'>
  them unsigned I made the possible overflows hard to detect,
  and it only saved 1 bit which isn't principal, even less now
  that the underlying issue with the total of virtual memory has
  been fixed.  (For the record, it will overflow with &gt;=2T of
  VM total, with 32-bit ints used to keep counters in pages.)

- While here, fix printing of other "struct vmtotal" members
  such as t_rq, t_dw, t_pw, and t_sw as they are also signed.

Reviewed by:	bde
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  them unsigned I made the possible overflows hard to detect,
  and it only saved 1 bit which isn't principal, even less now
  that the underlying issue with the total of virtual memory has
  been fixed.  (For the record, it will overflow with &gt;=2T of
  VM total, with 32-bit ints used to keep counters in pages.)

- While here, fix printing of other "struct vmtotal" members
  such as t_rq, t_dw, t_pw, and t_sw as they are also signed.

Reviewed by:	bde
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the format specifier suitable for uintmax_t.</title>
<updated>2006-11-23T11:51:23+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-11-23T11:51:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=20739dfa44dbb70dcb08e0401a6fc986ca596f93'/>
<id>20739dfa44dbb70dcb08e0401a6fc986ca596f93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
