diff --git a/NEWS b/NEWS index d4202874b0c2ea442beb9bf3453d1f34e38cd71b..4ca44c2ad4add5b70860b7c3f719cff616f41613 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ documents those changes that are of interest to users and administrators. ========================== -- Make sure assoc_mgr locks are initialized correctly. -- Correct check of enforcement when filling in an association. + -- Make sacctmgr print out classification correctly for clusters * Changes in Slurm 14.11.3 ========================== diff --git a/src/sacctmgr/common.c b/src/sacctmgr/common.c index 82d6d411f710bdf828b1603b7ac51287bebc62d7..60431cd283b2d8044093f78d135c60aeb7ebbb88 100644 --- a/src/sacctmgr/common.c +++ b/src/sacctmgr/common.c @@ -197,7 +197,7 @@ static print_field_t *_get_print_field(char *object) field->print_routine = print_fields_uint16; } else if (!strncasecmp("Classification", object, MAX(command_len, 3))) { - field->type = PRINT_CPUS; + field->type = PRINT_CLASS; field->name = xstrdup("Class"); field->len = 9; field->print_routine = print_fields_str;