From owner-cvs-all Sun Oct 6 23:50:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDB8E37B401; Sun, 6 Oct 2002 23:50:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F2343E4A; Sun, 6 Oct 2002 23:50:36 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g976oaCo074435; Sun, 6 Oct 2002 23:50:36 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g976oZj9074415; Sun, 6 Oct 2002 23:50:35 -0700 (PDT) Message-Id: <200210070650.g976oZj9074415@freefall.freebsd.org> From: Warner Losh Date: Sun, 6 Oct 2002 23:50:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/10/06 23:50:35 PDT Modified files: sys/kern subr_bus.c Log: Minor string handling cleanup that I've had in my tree for a while: Don't use snprintf where strlcpy() will do the job. Also, a NUL is '\0' not 0 in our style (C doesn't care), so spell it like. Remove useless {} and () in the general area of this change. Revision Changes Path 1.111 +20 -21 src/sys/kern/subr_bus.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message