]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r344254-r344255
authorIan Lepore <ian@FreeBSD.org>
Sun, 21 Apr 2019 22:28:50 +0000 (22:28 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 21 Apr 2019 22:28:50 +0000 (22:28 +0000)
commitddd20f6652170bdbc1dea6259d4c312c9599a106
tree65c9c7d04d83a41847a7c79627c50c494260ea7f
parent5cdb0b4ecb59caada18546a3c44dffcced256689
MFC r344254-r344255

r344254:
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.

r344255:
Fix more places to use DEV_TYP_NONE instead of -1 to indicate 'no device'.
stand/uboot/common/main.c