diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-11 12:56:34 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2012-12-11 12:56:34 +0000 |
commit | fb2bb1d405f644838718d009b8729e0e2ea73d88 (patch) | |
tree | 500d96fa3ba2f87a9a25421f0d1ea3eebfd1bfbc /utils | |
parent | 59d30db8fe57032c0f469967159af3009eb95faa (diff) | |
download | sg3_utils-fb2bb1d405f644838718d009b8729e0e2ea73d88.tar.gz |
run cleanfile over C source and headers
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@470 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'utils')
-rw-r--r-- | utils/sg_chk_asc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/sg_chk_asc.c b/utils/sg_chk_asc.c index 5ca2b7d3..7ae402b5 100644 --- a/utils/sg_chk_asc.c +++ b/utils/sg_chk_asc.c @@ -163,10 +163,11 @@ printf("\"%s\",\n", b); continue; } num = strlen(cp); -// fprintf(stderr, "file: asc=%x acsq=%x strlen=%d %s\n", asc, ascq, num, cp); +// fprintf(stderr, "file: asc=%x acsq=%x strlen=%d %s\n", asc, ascq, num, +// cp); // if (num < 20) // continue; - if ((num > 6) && + if ((num > 6) && ((0 == memcmp("ASC", cp, 3)) || (0 == memcmp("vendor", cp, 6)))) { fprintf(stderr, "%x,%x differ, ref: %s, sg_lib_data: " |