Skip to content

Commit

Permalink
scheduler: complete #5123 #2: plan_class_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bema-aei committed Oct 16, 2023
1 parent ab33270 commit 7d23fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sched/plan_class_spec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include "util.h"
#include "coproc.h"
#include "hostinfo.h"

#include "sched_config.h"
#include "sched_customize.h"
Expand Down Expand Up @@ -269,7 +270,7 @@ bool PLAN_CLASS_SPEC::check(
// so we can look for them with strstr()
//
if (!cpu_features.empty()) {
char buf[8192], buf2[512];
char buf[P_FEATURES_SIZE], buf2[512];
sprintf(buf, " %s ", sreq.host.p_features);
char* p = strrchr(sreq.host.p_model, '[');
if (p) {
Expand Down

0 comments on commit 7d23fa6

Please sign in to comment.