summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-27 08:11:24 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-27 08:11:24 -0800
commit34d682416faee9c8beef8b0747d5f1587dea847c (patch)
tree7077d97d80e6891013e3ebe74ee7174e58663311 /file.c
parenta65b9b48e0be56bc33ea857d928b83b726b13c34 (diff)
downloadsubsurface-34d682416faee9c8beef8b0747d5f1587dea847c.tar.gz
Fix typo ('suundo' instead of 'suunto')
I apparently was so congested that it affected my typing too when I wrote that, and then copy-paste meant that the use and declaration matched despite the misspelling. Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 26b89a623..192dda675 100644
--- a/file.c
+++ b/file.c
@@ -72,7 +72,7 @@ static void suunto_read(struct zip_file *file, GError **error)
}
#endif
-static int try_to_open_suundo(const char *filename, GError **error)
+static int try_to_open_suunto(const char *filename, GError **error)
{
int success = 0;
#ifdef LIBZIP
@@ -98,7 +98,7 @@ static int open_by_filename(const char *filename, const char *fmt, GError **erro
{
/* Suunto Dive Manager files: SDE */
if (!strcasecmp(fmt, "SDE"))
- return try_to_open_suundo(filename, error);
+ return try_to_open_suunto(filename, error);
return 0;
}