From owner-cvs-all@FreeBSD.ORG Tue Aug 12 06:24:22 2003 Return-Path: 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 8FDF337B401; Tue, 12 Aug 2003 06:24:22 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 276BD43FA3; Tue, 12 Aug 2003 06:24:22 -0700 (PDT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7CDOL0U047147; Tue, 12 Aug 2003 06:24:21 -0700 (PDT) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7CDOL35047146; Tue, 12 Aug 2003 06:24:21 -0700 (PDT) Message-Id: <200308121324.h7CDOL35047146@repoman.freebsd.org> From: Hartmut Brandt Date: Tue, 12 Aug 2003 06:24:21 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ddb db_access.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 13:24:22 -0000 harti 2003/08/12 06:24:21 PDT FreeBSD src repository Modified files: sys/ddb db_access.c Log: db_get_value uses a local buffer to first fetch all the bytes of a integer value and then to construct the integer from it. This buffer was sizeof(int) bytes long, which was fine until the (undocumented) 'g' modifier for 8-byte integers was introduced. Change this to sizeof(uint64_t). Revision Changes Path 1.17 +1 -1 src/sys/ddb/db_access.c