From 27d19b605b8cc319d196123f7abcf48a6968f369 Mon Sep 17 00:00:00 2001 From: Willem Ferguson Date: Fri, 21 Nov 2014 15:02:53 +0200 Subject: Save-XML: Correct bug in cylinder gas parameters Correct a bug that I introduced previously. Signed-off-by: willem ferguson From 45570d66ecf238aec8997f5d0c20c01dfe0aa4fa Mon Sep 17 00:00:00 2001 From: willem ferguson Date: Fri, 21 Nov 2014 14:59:14 +0200 Subject: [PATCH] Save-XML: Correct bug in cylinder gas parameters Correct a bug that I introduced previously Signed-off-by: willem ferguson Signed-off-by: Dirk Hohndel --- save-xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/save-xml.c b/save-xml.c index c9adf5307..7a2712949 100644 --- a/save-xml.c +++ b/save-xml.c @@ -214,8 +214,8 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl put_format(b, " time.seconds, 60)); put_milli(b, " depth='", sample->depth.mm, " m'"); put_temperature(b, sample->temperature, " temp='", " C'"); - put_pressure(b, sample->cylinderpressure, " pdiluent='", " bar'"); - put_pressure(b, sample->o2cylinderpressure, " pressure='", " bar'"); + put_pressure(b, sample->cylinderpressure, " pressure='", " bar'"); + put_pressure(b, sample->o2cylinderpressure, " o2pressure='", " bar'"); /* * We only show sensor information for samples with pressure, and only if it -- cgit v1.2.3-70-g09d2