Merge branch 's3_crypto' of github.com:hualongfeng/fio
[fio.git] / graph.c
diff --git a/graph.c b/graph.c
index c45954c7f79939b2e38cebacbc028d932076c234..c49cdae14fb00e04154a8cf6669f0194bfd0570c 100644 (file)
--- a/graph.c
+++ b/graph.c
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  */
 #include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <math.h>
 #include <assert.h>
 #include <stdlib.h>
@@ -999,7 +999,7 @@ const char *graph_find_tooltip(struct graph *g, int ix, int iy)
                                ydiff = fabs(yval - y);
 
                                /*
-                                * zero delta, or within or match critera, break
+                                * zero delta, or within or match criteria, break
                                 */
                                if (ydiff < best_delta) {
                                        best_delta = ydiff;