Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Bruce Evans
On Tue, 14 Dec 2010, Xin LI wrote: Log: Make use of EX_USAGE for usage(). Most uses of sysexits are styyle bugs. This one is no exception, since printf is not sendmail. Modified: head/usr.bin/printf/printf.c ==

svn commit: r216428 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 09:32:37 2010 New Revision: 216428 URL: http://svn.freebsd.org/changeset/base/216428 Log: Further refinements to the xen.4 man page: fix typos, add material on para-virtualized drivers, clarify how to configure XENHVM on amd64. MFC after:3 days

svn commit: r216429 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 10:06:28 2010 New Revision: 216429 URL: http://svn.freebsd.org/changeset/base/216429 Log: Slightly different formatting for options list. MFC after:3 days Modified: head/share/man/man4/xen.4 Modified: head/share/man/man4/xen.4

svn commit: r216430 - stable/8/sys/fs/nfsserver

2010-12-14 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 14 13:45:57 2010 New Revision: 216430 URL: http://svn.freebsd.org/changeset/base/216430 Log: MFC: r216330 Disable attempts to establish a callback connection from the experimental NFSv4 server to a NFSv4 client when delegations are not being issued, even if

svn commit: r216431 - head/lib/libusb

2010-12-14 Thread Kevin Lo
Author: kevlo Date: Tue Dec 14 15:11:49 2010 New Revision: 216431 URL: http://svn.freebsd.org/changeset/base/216431 Log: Check the return value of malloc(). Reviewed by: hselasky MFC after:3 days Modified: head/lib/libusb/libusb20_compat01.c Modified:

svn commit: r216432 - head/lib/libproc

2010-12-14 Thread Kevin Lo
Author: kevlo Date: Tue Dec 14 15:14:08 2010 New Revision: 216432 URL: http://svn.freebsd.org/changeset/base/216432 Log: Fix a memory leak on the error condition Reviewed by: rpaulo Modified: head/lib/libproc/proc_create.c Modified: head/lib/libproc/proc_create.c

svn commit: r216433 - stable/8/lib/csu/ia64

2010-12-14 Thread Tijl Coosemans
Author: tijl Date: Tue Dec 14 15:33:48 2010 New Revision: 216433 URL: http://svn.freebsd.org/changeset/base/216433 Log: MFC r216351: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's

svn commit: r216434 - stable/8/cddl/contrib/opensolaris/lib/libzpool/common

2010-12-14 Thread Martin Matuska
Author: mm Date: Tue Dec 14 15:33:59 2010 New Revision: 216434 URL: http://svn.freebsd.org/changeset/base/216434 Log: MFC r210044, r214622: MFC r210044 (pjd): MFp4 180933: Initialize rw_count properly so that zdb(8) doesn't trigger assertion in rw_enter():

svn commit: r216435 - stable/7/lib/csu/ia64

2010-12-14 Thread Tijl Coosemans
Author: tijl Date: Tue Dec 14 15:35:44 2010 New Revision: 216435 URL: http://svn.freebsd.org/changeset/base/216435 Log: MFC r216351: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's

svn commit: r216436 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-14 Thread Martin Matuska
Author: mm Date: Tue Dec 14 15:36:47 2010 New Revision: 216436 URL: http://svn.freebsd.org/changeset/base/216436 Log: MFC r208683, r210999, r212385: MFC r208683 (pjd): Fix a bug where resilver is not started automatically on pool import or load. If disk was missing on pool load or

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Pawel Jakub Dawidek
On Tue, Dec 14, 2010 at 07:26:13PM +1100, Bruce Evans wrote: (*) Reading between the lines, I wilfully misinterpret this example of being a bad example of everthing it does: % Exits should be 0 on success, or according to the predefined values in % sysexits(3). % %

svn commit: r216437 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 17:23:49 2010 New Revision: 216437 URL: http://svn.freebsd.org/changeset/base/216437 Log: Remove spurious printf left over from debugging our XenStore support. Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c

svn commit: r216438 - head/sys/dev/ale

2010-12-14 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 14 17:39:10 2010 New Revision: 216438 URL: http://svn.freebsd.org/changeset/base/216438 Log: Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Jilles Tjoelker
On Tue, Dec 14, 2010 at 12:21:35AM +, Xin LI wrote: Author: delphij Date: Tue Dec 14 00:21:34 2010 New Revision: 216422 URL: http://svn.freebsd.org/changeset/base/216422 Log: Make use of EX_USAGE for usage(). Modified: head/usr.bin/printf/printf.c Modified:

svn commit: r216439 - head/usr.bin/printf

2010-12-14 Thread Xin LI
Author: delphij Date: Tue Dec 14 18:23:15 2010 New Revision: 216439 URL: http://svn.freebsd.org/changeset/base/216439 Log: When printf is being used as a sh(1) builtin, it can not call exit(3) as pointed out by jilles@ so revert to using return(), also change the return value back to 1 as

svn commit: r216440 - stable/8/sys/dev/e1000

2010-12-14 Thread Jack F Vogel
Author: jfv Date: Tue Dec 14 19:59:39 2010 New Revision: 216440 URL: http://svn.freebsd.org/changeset/base/216440 Log: MFC r216172, r216176: Correct the RX discard and refresh_mbuf logic to match igb, the old discard code could cause panics due to a bad pointer, now simply have discard

svn commit: r216441 - stable/7/sys/dev/e1000

2010-12-14 Thread Jack F Vogel
Author: jfv Date: Tue Dec 14 20:00:55 2010 New Revision: 216441 URL: http://svn.freebsd.org/changeset/base/216441 Log: MFC r216172, r216176 Correct the RX discard and refresh_mbuf logic to match igb, the old discard code could cause panics due to a bad pointer, now simply have discard

svn commit: r216443 - in head/sys: amd64/amd64 dev/acpica i386/i386

2010-12-14 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 14 20:07:51 2010 New Revision: 216443 URL: http://svn.freebsd.org/changeset/base/216443 Log: Stop lying about supporting cpu_est_clockrate() when TSC is invariant. This function always returned the nominal frequency instead of current frequency because we use

svn commit: r216446 - in stable/8/sys/amd64: amd64 include

2010-12-14 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 14 20:19:41 2010 New Revision: 216446 URL: http://svn.freebsd.org/changeset/base/216446 Log: MFC: r210780 Rearrange struct pcb to make better use of cache lines. Approved by: re (kib) Modified: stable/8/sys/amd64/amd64/genassym.c

Re: svn commit: r216443 - in head/sys: amd64/amd64 dev/acpica i386/i386

2010-12-14 Thread Jung-uk Kim
On Tuesday 14 December 2010 03:07 pm, Jung-uk Kim wrote: Author: jkim Date: Tue Dec 14 20:07:51 2010 New Revision: 216443 URL: http://svn.freebsd.org/changeset/base/216443 Log: Stop lying about supporting cpu_est_clockrate() when TSC is invariant. This function always returned the

svn commit: r216447 - head/usr.bin/printf

2010-12-14 Thread Xin LI
Author: delphij Date: Tue Dec 14 20:35:08 2010 New Revision: 216447 URL: http://svn.freebsd.org/changeset/base/216447 Log: Revert r216423 per request from Jilles. The new behavior prevents us from being able to bail out explicitly on unknown options that we have not implemented. BASH

svn commit: r216448 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 20:57:40 2010 New Revision: 216448 URL: http://svn.freebsd.org/changeset/base/216448 Log: Fix a typo in a comment. Noticed by: Attila Nagy b...@fsn.hu Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c

svn commit: r216449 - stable/7/sys/dev/cxgb

2010-12-14 Thread John Baldwin
Author: jhb Date: Tue Dec 14 21:33:17 2010 New Revision: 216449 URL: http://svn.freebsd.org/changeset/base/216449 Log: When the per-queueset transmit kthread is idle, do not pass a sleep priority of '1' to tsleep(). This caused the priority of this kthread to be raised higher than every