Fix typos

This commit is contained in:
2014-07-12 20:06:22 +02:00
parent 01efebcc1a
commit 8022b93829
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -332,10 +332,10 @@ func (ds *Datastore) validateChange(c *change) error {
maxIndex++
}
if op.Index > maxIndex {
return fmt.Errorf("out of bound access index %d on [0:%s]", op.Index, maxIndex)
return fmt.Errorf("out of bound access index %d on [0:%d]", op.Index, maxIndex)
}
if op.Index2 > maxIndex {
return fmt.Errorf("out of bound access index %d on [0:%s]", op.Index, maxIndex)
return fmt.Errorf("out of bound access index %d on [0:%d]", op.Index, maxIndex)
}
}
}