From: Kay Sievers Date: Thu, 15 Apr 2010 19:18:21 +0000 (+0200) Subject: cdrom_id: debug - print feature values in hex X-Git-Tag: 174~551 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140647ad1aec50e2f657e7838e893a87404ff83a;p=systemd cdrom_id: debug - print feature values in hex --- diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index d9b6fbde..b2c107b0 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -376,7 +376,7 @@ static int cd_profiles(struct udev *udev, int fd) feature_profiles(udev, &features[i]+4, features[i+3]); break; default: - info(udev, "GET CONFIGURATION: feature %i , with %i bytes\n", feature, features[i+3]); + info(udev, "GET CONFIGURATION: feature 0x%04x , with 0x%02x bytes\n", feature, features[i+3]); break; } }