From 60f36ea87360169439a472be6355874797b72390 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Feb 2022 20:46:41 -0500 Subject: Fix broken reference to method name --- examples/open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/open.c b/examples/open.c index 45cd2e5..4bf036b 100644 --- a/examples/open.c +++ b/examples/open.c @@ -32,8 +32,8 @@ int main(int argc, char **argv) { usage(argc, argv, "No input file provided"); } - if ((wave = xas_riff_file_open(argv[1], O_RDONLY)) == NULL) { - goto error_riff_file_open; + if ((wave = xas_riff_open_file(argv[1], O_RDONLY)) == NULL) { + goto error_riff_open_file; } printf("channels %zu sample rate %zu sample size %zu\n", @@ -45,6 +45,6 @@ int main(int argc, char **argv) { return EX_OK; -error_riff_file_open: +error_riff_open_file: return EX_OSERR; } -- cgit v1.2.3