Skip to content

Commit 38a1c57

Browse files
committed
[bench-562] fix compillation
1 parent 55102f1 commit 38a1c57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/http_api/http_api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ func (x *HttpApi) pin(w http.ResponseWriter, r *http.Request) {
145145
return
146146
}
147147
if numa1 < 0 {
148-
log.Errorf("HttpApi pin, negative numa = %d", numa0)
149-
msg := fmt.Sprintf("numa is negative, numa = %d", numa0)
148+
log.Errorf("HttpApi pin, negative numa = %s", numa0)
149+
msg := fmt.Sprintf("numa is negative, numa = %s", numa0)
150150
http_utils.WriteResponse0(w, http.StatusBadRequest, msg)
151151
return
152152
}

0 commit comments

Comments
 (0)