Fix apparent typo

Docker-DCO-1.1-Signed-off-by: Charles Lindsay <chaz@chazomatic.us> (github: chazomaticus)
Upstream-commit: 14b2b2b7c2db83ef1413a7469608f655cd15958e
Component: engine
This commit is contained in:
Charles Lindsay
2014-01-20 19:21:25 -08:00
parent 185397ce27
commit 3fbfa38dfc

View File

@ -560,7 +560,7 @@ func (k *KernelVersionInfo) String() string {
}
// Compare two KernelVersionInfo struct.
// Returns -1 if a < b, = if a == b, 1 it a > b
// Returns -1 if a < b, 0 if a == b, 1 it a > b
func CompareKernelVersion(a, b *KernelVersionInfo) int {
if a.Kernel < b.Kernel {
return -1