The literal % where in the wrong place.
Signed-off-by: Anton Lundin <[email protected]>
---
src/shearwater_predator_parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shearwater_predator_parser.c b/src/shearwater_predator_parser.c
index cf6d56a..fba5629 100644
--- a/src/shearwater_predator_parser.c
+++ b/src/shearwater_predator_parser.c
@@ -409,7 +409,7 @@ shearwater_predator_parser_get_field (dc_parser_t
*abstract, dc_field_type_t typ
snprintf(buf, BUFLEN, "VPM-B +%u",
data[68]);
break;
case 2:
- snprintf(buf, BUFLEN, "VPM-B/GFS +%u
%%%u", data[68], data[85]);
+ snprintf(buf, BUFLEN, "VPM-B/GFS +%u
%u%%", data[68], data[85]);
break;
default:
return DC_STATUS_DATAFORMAT;
--
2.9.3
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface