From d695bc8bc60698bdcc07f9ab8c649a77383bcc85 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Fri, 7 Mar 2014 23:56:20 +0000 Subject: maint: various cleanups * tests/misc/numfmt.pl: Fix comment misspelling. * src/cut.c: Likewise. * src/tsort.c (detect_loop): Replace an fprintf() with error(). --- src/cut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cut.c') diff --git a/src/cut.c b/src/cut.c index b659a2b0c..552806823 100644 --- a/src/cut.c +++ b/src/cut.c @@ -417,7 +417,7 @@ set_fields (const char *fieldstr) /* After merging, reallocate RP so we release memory to the system. Also add a sentinel at the end of RP, to avoid out of bounds access - and for perfomance reasons. */ + and for performance reasons. */ ++n_rp; rp = xrealloc (rp, n_rp * sizeof (struct range_pair)); rp[n_rp - 1].lo = rp[n_rp - 1].hi = SIZE_MAX; -- cgit v1.2.3-54-g00ecf