dnpds40: Another minor fix for counter output.

This commit is contained in:
Solomon Peachy 2016-07-14 20:46:52 -04:00
parent 1d27d98d93
commit 980abd7ed0

View file

@ -1729,7 +1729,8 @@ static int dnpds40_get_status(struct dnpds40_ctx *ctx)
dnpds40_cleanup_string((char*)resp, len);
INFO("Half-Size Prints Remaining on Media: %s\n", (char*)resp + 4);
len = atoi((char*)resp+4);
INFO("Half-Size Prints Remaining on Media: %d\n", len);
free(resp);
}