svn commit: r327011 - user/jeff/numa/usr.bin/cpuset

Jeff Roberson jeff at FreeBSD.org
Wed Dec 20 00:48:29 UTC 2017


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);


More information about the svn-src-user mailing list