From owner-svn-src-user@freebsd.org Wed Dec 20 00:48:29 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C81B9E86BC2 for ; Wed, 20 Dec 2017 00:48:29 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9548B73B4A; Wed, 20 Dec 2017 00:48:29 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBK0mSxC017738; Wed, 20 Dec 2017 00:48:28 GMT (envelope-from jeff@FreeBSD.org) Received: (from jeff@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBK0mSe8017737; Wed, 20 Dec 2017 00:48:28 GMT (envelope-from jeff@FreeBSD.org) Message-Id: <201712200048.vBK0mSe8017737@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jeff set sender to jeff@FreeBSD.org using -f From: Jeff Roberson Date: Wed, 20 Dec 2017 00:48:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r327011 - user/jeff/numa/usr.bin/cpuset X-SVN-Group: user X-SVN-Commit-Author: jeff X-SVN-Commit-Paths: user/jeff/numa/usr.bin/cpuset X-SVN-Commit-Revision: 327011 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 00:48:29 -0000 Author: jeff Date: Wed Dec 20 00:48:28 2017 New Revision: 327011 URL: https://svnweb.freebsd.org/changeset/base/327011 Log: Fix a minor output bug. Modified: user/jeff/numa/usr.bin/cpuset/cpuset.c Modified: user/jeff/numa/usr.bin/cpuset/cpuset.c ============================================================================== --- user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Dec 20 00:30:31 2017 (r327010) +++ user/jeff/numa/usr.bin/cpuset/cpuset.c Wed Dec 20 00:48:28 2017 (r327011) @@ -248,12 +248,12 @@ printaffinity(void) err(EXIT_FAILURE, "getaffinity"); printf("%s %jd%s mask: ", whichnames[which], (intmax_t)id, levelnames[level]); + printset((struct bitset *)&mask, CPU_SETSIZE); if (dflag) goto out; if (cpuset_getdomain(level, which, id, sizeof(domain), &domain, &policy) != 0) err(EXIT_FAILURE, "getdomain"); - printset((struct bitset *)&mask, CPU_SETSIZE); printf("%s %jd%s domain policy: %s mask: ", whichnames[which], (intmax_t)id, levelnames[level], policynames[policy]); printset((struct bitset *)&domain, DOMAINSET_SETSIZE);