From: Michael R. Crusoe <crusoe@ucdavis.edu>
Subject: Use the non-deprecated function name
Forwarded: https://github.com/pezmaster31/bamtools/pull/121

--- bamtools.orig/src/toolkit/bamtools_filter.cpp
+++ bamtools/src/toolkit/bamtools_filter.cpp
@@ -647,7 +647,7 @@
     if ( !reader.parse(document, root) ) {
         // use built-in error reporting mechanism to alert user what was wrong with the script
         cerr  << "bamtools filter ERROR: failed to parse script - see error message(s) below" << endl
-              << reader.getFormatedErrorMessages();
+              << reader.getFormattedErrorMessages();
         return false;     
     }
 
