]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use DEV_TYP_NONE instead of -1 to indicate no device was specified.
authorian <ian@FreeBSD.org>
Mon, 18 Feb 2019 15:09:19 +0000 (15:09 +0000)
committerian <ian@FreeBSD.org>
Mon, 18 Feb 2019 15:09:19 +0000 (15:09 +0000)
commit866f891019cdd980422f61fc49d3a15489e4c387
treef2e03153f6654f4a29930e9d114433a24d9354f5
parent23b439c4c0a1f5fad0c5764a2052aef3452cdfcd
Use DEV_TYP_NONE instead of -1 to indicate no device was specified.

DEV_TYP_NONE has a value of zero, which makes more sense since the device
type is a bunch of bits describing the device, crammed into an int.
stand/uboot/common/main.c