From: Dean Roehrich Date: Mon, 31 May 2004 18:19:44 +0000 (+0000) Subject: Make the dm_bulkall test output match that of the dm_bulkattr test X-Git-Tag: v1.1.0~840 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bb7edbf51da535109507b011da187abffc6ce89a;p=users%2Fhch%2Fxfstests-dev.git Make the dm_bulkall test output match that of the dm_bulkattr test Change output to match test_bulkattr.c --- diff --git a/dmapi/src/suite2/src/test_bulkall.c b/dmapi/src/suite2/src/test_bulkall.c index 408113bec..427eeb34d 100644 --- a/dmapi/src/suite2/src/test_bulkall.c +++ b/dmapi/src/suite2/src/test_bulkall.c @@ -202,9 +202,10 @@ my_print_victim( */ if (verbose & V_PRINT) { if (attrlen) { - printf("%d (%s)\n", - attrlen, - isalpha(attrval[0]) ? attrval : ""); + if (isalpha(attrval[0]) ) + printf("(%s)\n", attrval); + else + printf("\n", attrlen); } else { printf("\n");