chiark / gitweb /
cdrom_id: debug - print feature values in hex
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Apr 2010 19:22:38 +0000 (21:22 +0200)
extras/cdrom_id/cdrom_id.c

index b2c107b038fa5f03066781f9adc7c803065bf891..16b126027601f8c676043ea084c68482d794ffb2 100644 (file)
@@ -357,7 +357,7 @@ static int cd_profiles(struct udev *udev, int fd)
        }
 
        len = features[0] << 24 | features[1] << 16 | features[2] << 8 | features[3];
-       info(udev, "GET CONFIGURATION: size of features buffer %i\n", len);
+       info(udev, "GET CONFIGURATION: size of features buffer 0x%04x\n", len);
 
        if (len > sizeof(features)) {
                info(udev, "can not get features in a single query, truncating\n");