Message ID | 1443765973-5897-1-git-send-email-swarren@wwwdotorg.org |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
diff --git a/disk/part.c b/disk/part.c index 43485c9148b0..4e72257434b6 100644 --- a/disk/part.c +++ b/disk/part.c @@ -179,6 +179,9 @@ void dev_print (block_dev_desc_t *dev_desc) case IF_TYPE_DOC: puts("device type DOC\n"); return; + case IF_TYPE_HOST: + puts("host device\n"); + break; case IF_TYPE_UNKNOWN: puts("device type unknown\n"); return;
Add a case statement for IF_TYPE_HOST in dev_print() so that it prints the device type rather than the "device type unknown" message. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> --- disk/part.c | 3 +++ 1 file changed, 3 insertions(+)