]> err.no Git - systemd/commitdiff
cdrom_id: debug - print feature values in hex
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Apr 2010 19:18:21 +0000 (21:18 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Apr 2010 19:18:21 +0000 (21:18 +0200)
extras/cdrom_id/cdrom_id.c

index d9b6fbded3066da691ad34bfc02ffdc85e563a6f..b2c107b038fa5f03066781f9adc7c803065bf891 100644 (file)
@@ -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;
                }
        }