1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix apparent typo

Docker-DCO-1.1-Signed-off-by: Charles Lindsay <chaz@chazomatic.us> (github: chazomaticus)
This commit is contained in:
Charles Lindsay 2014-01-20 19:21:25 -08:00
parent d2c9c1036b
commit 14b2b2b7c2

View file

@ -560,7 +560,7 @@ func (k *KernelVersionInfo) String() string {
} }
// Compare two KernelVersionInfo struct. // 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 { func CompareKernelVersion(a, b *KernelVersionInfo) int {
if a.Kernel < b.Kernel { if a.Kernel < b.Kernel {
return -1 return -1