summaryrefslogtreecommitdiffhomepage
path: root/examples/sview_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sview_split.c')
-rw-r--r--examples/sview_split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sview_split.c b/examples/sview_split.c
index 0db175ce..3e3c584b 100644
--- a/examples/sview_split.c
+++ b/examples/sview_split.c
@@ -15,6 +15,6 @@ int main()
c_auto (cstr, y, m, d) {
y = cstr_from_sv(year), m = cstr_from_sv(month), d = cstr_from_sv(day);
- printf("%s, %s, %s\n", y.str, m.str, d.str);
+ printf("%s, %s, %s\n", cstr_str(&y), cstr_str(&m), cstr_str(&d));
}
}