mmc-utils: fix printing OID for mmc in non-verbose mode

It is parsed as an integer and printed as a char which does not really
make sense.
E.g. if OID is '0' (which does not seem to be uncommon), then this
prints a '\0' character and makes output nearly unreadable/unparsable.

Also, do not print it like it would be a string, instead use 0x<digit>

Signed-off-by: Enrico Jorns <>
Reviewed-by: Avri Altman <>
Signed-off-by: Ulf Hansson <>
1 file changed