Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/usr.sbin/cpuctl/cpuctl.c,v rcsdiff: /ftp/cvs/cvsroot/src/usr.sbin/cpuctl/cpuctl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- src/usr.sbin/cpuctl/cpuctl.c 2015/11/16 03:34:50 1.28 +++ src/usr.sbin/cpuctl/cpuctl.c 2018/01/16 08:23:18 1.29 @@ -1,4 +1,4 @@ -/* $NetBSD: cpuctl.c,v 1.28 2015/11/16 03:34:50 mrg Exp $ */ +/* $NetBSD: cpuctl.c,v 1.29 2018/01/16 08:23:18 mrg Exp $ */ /*- * Copyright (c) 2007, 2008, 2009, 2012, 2015 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #ifndef lint #include -__RCSID("$NetBSD: cpuctl.c,v 1.28 2015/11/16 03:34:50 mrg Exp $"); +__RCSID("$NetBSD: cpuctl.c,v 1.29 2018/01/16 08:23:18 mrg Exp $"); #endif /* not lint */ #include @@ -254,7 +254,6 @@ cpu_ucode(char **argv) } } - static void cpu_identify(char **argv) { @@ -267,7 +266,7 @@ cpu_identify(char **argv) id = getcpuid(*argv); snprintf(name, sizeof(name), "cpu%u", id); - if (np != 1) { + if (identifycpu_bind() && np != 1) { cpuset = cpuset_create(); if (cpuset == NULL) err(EXIT_FAILURE, "cpuset_create");