[PATCH libdrm 09/10] drmdevice: convert the tabbed output into a tree
Emil Velikov
emil.l.velikov at gmail.com
Thu Jun 28 16:43:19 UTC 2018
On 28 June 2018 at 11:19, Eric Engestrom <eric at engestrom.ch> wrote:
> On Monday, 2018-06-25 17:40:02 +0000, Emil Velikov wrote:
>> From: Emil Velikov <emil.velikov at collabora.com>
>>
>> Making the output a little bit easier to parse by human beings.
>>
>> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>> ---
>> tests/drmdevice.c | 78 +++++++++++++++++++++++------------------------
>> 1 file changed, 39 insertions(+), 39 deletions(-)
>>
>> diff --git a/tests/drmdevice.c b/tests/drmdevice.c
>> index 0d75836f..e9e9d7f1 100644
>> --- a/tests/drmdevice.c
>> +++ b/tests/drmdevice.c
>> @@ -36,67 +36,67 @@ static void
>> print_device_info(drmDevicePtr device, int i, bool print_revision)
>> {
>> printf("device[%i]\n", i);
>> - printf("\tavailable_nodes %04x\n", device->available_nodes);
>> - printf("\tnodes\n");
>> + printf("+->available_nodes %#04x\n", device->available_nodes);
>> + printf("+->nodes\n");
>
> Nit: I'd put a space between `>` and the text, for readability
>
Ack, will do.
Thanks
Emil
More information about the dri-devel
mailing list