DNP: Fix formatting of 'media lot code'

This commit is contained in:
Solomon Peachy 2016-07-17 10:56:08 -04:00
parent a5ce2e21b4
commit bebdb72f21
1 changed files with 1 additions and 6 deletions

View File

@ -1466,12 +1466,7 @@ static int dnpds40_get_info(struct dnpds40_ctx *ctx)
dnpds40_cleanup_string((char*)resp, len);
INFO("Media Lot Code: ");
/* 16-byte data in a 20-byte response */
for (len = 0 ; len < 16 ; len++) {
DEBUG2("%c", *(resp+len+2));
}
DEBUG2("\n");
INFO("Media Lot Code: %s\n", (char*)resp+2);
free(resp);
/* Get Media ID Set (?) */