Skip to content

Commit b911e13

Browse files
committed
cpuset: Fix Parse() error message for n-k s.t. k<n
This case is tested extensively in cpuset_test.go, but the error message needs a small adjustmnet.
1 parent 0ab6448 commit b911e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func Parse(s string) (CPUSet, error) {
230230
return New(), err
231231
}
232232
if start > end {
233-
return New(), fmt.Errorf("invalid range %q (%d >= %d)", r, start, end)
233+
return New(), fmt.Errorf("invalid range %q (%d > %d)", r, start, end)
234234
}
235235
// start == end is acceptable (1-1 -> 1)
236236

0 commit comments

Comments
 (0)