summaryrefslogtreecommitdiff
path: root/utils/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/container.c')
-rw-r--r--utils/container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/container.c b/utils/container.c
index cc6db75b7..900eac6c3 100644
--- a/utils/container.c
+++ b/utils/container.c
@@ -327,8 +327,8 @@ int main(int argc, char *argv[])
int state = 0;
char *n;
- container_add(ctx, "CHEESE", "This is a test of some cheese.\0", 31);
- container_add(ctx, "FOO", "This is a test of some cheese.\0", 31);
+ container_add(ctx, "CHEESE", "This is a test of some cheese.", sizeof("This is a test of some cheese."));
+ container_add(ctx, "FOO", "This is a test of some cheese.", sizeof("This is a test of some cheese."));
container_close(ctx);