From: Linus Torvalds Date: Fri, 27 Jan 2012 16:11:24 +0000 (-0800) Subject: Fix typo ('suundo' instead of 'suunto') X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=commitdiff_plain;h=34d682416faee9c8beef8b0747d5f1587dea847c 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 Signed-off-by: Linus Torvalds --- diff --git a/file.c b/file.c index 26b89a6..192dda6 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; }