]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Fix typo ('suundo' instead of 'suunto')
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 Jan 2012 16:11:24 +0000 (08:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 Jan 2012 16:11:24 +0000 (08:11 -0800)
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>
file.c

diff --git a/file.c b/file.c
index 26b89a6233ecf27beed452eff3fe7e2fb51d5e86..192dda675df9a1f5cfc39f04deb5670596765e33 100644 (file)
--- 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;
 }