diff --git a/libdivecomputer.c b/libdivecomputer.c
index 7b3087f9d..01639e5e5 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -247,7 +247,8 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata)
printf(" %u\n", value.bearing);
break;
case DC_SAMPLE_VENDOR:
- printf(" ", value.vendor.type, value.vendor.size);
+ printf(" ", FRACTION(sample->time.seconds, 60),
+ value.vendor.type, value.vendor.size);
for (i = 0; i < value.vendor.size; ++i)
printf("%02X", ((unsigned char *) value.vendor.data)[i]);
printf("\n");