From owner-svn-src-head@FreeBSD.ORG Thu Apr 1 21:20:20 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20FE9106566C; Thu, 1 Apr 2010 21:20:20 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 106F58FC14; Thu, 1 Apr 2010 21:20:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o31LKJwM048278; Thu, 1 Apr 2010 21:20:19 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o31LKJLT048276; Thu, 1 Apr 2010 21:20:19 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201004012120.o31LKJLT048276@svn.freebsd.org> From: Bruce Cran Date: Thu, 1 Apr 2010 21:20:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206056 - head/contrib/top X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2010 21:20:20 -0000 Author: brucec Date: Thu Apr 1 21:20:19 2010 New Revision: 206056 URL: http://svn.freebsd.org/changeset/base/206056 Log: Specify the parameter in the format_k2 prototype. This fixes top on ARM, which assumes that format_k2 takes an int. Approved by: rrs (mentor) Modified: head/contrib/top/utils.h Modified: head/contrib/top/utils.h ============================================================================== --- head/contrib/top/utils.h Thu Apr 1 20:23:43 2010 (r206055) +++ head/contrib/top/utils.h Thu Apr 1 21:20:19 2010 (r206056) @@ -21,4 +21,4 @@ long percentages(); char *errmsg(); char *format_time(); char *format_k(); -char *format_k2(); +char *format_k2(unsigned long long);