summaryrefslogtreecommitdiff
path: root/extras/cdrom_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-04-15 21:18:21 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-04-15 21:18:21 +0200
commit140647ad1aec50e2f657e7838e893a87404ff83a (patch)
tree500038d12595139040477c3414f50a7c427b5dde /extras/cdrom_id
parent2e9df1981833e1e029b7ce6c12a44dffb6aad0cb (diff)
cdrom_id: debug - print feature values in hex
Diffstat (limited to 'extras/cdrom_id')
-rw-r--r--extras/cdrom_id/cdrom_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c
index d9b6fbded3..b2c107b038 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 <ignored>, with %i bytes\n", feature, features[i+3]);
+ info(udev, "GET CONFIGURATION: feature 0x%04x <ignored>, with 0x%02x bytes\n", feature, features[i+3]);
break;
}
}