diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-10-23 14:16:03 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-10-23 14:16:03 +0000 |
commit | 220505fc35db940699e8f653bb8e307959d24acb (patch) | |
tree | d813222132c5cd69b480c435b250be9d24525569 /usr.bin/locate | |
parent | f56e8848358baeedfdc64205b6c4c8c93e2d5d1f (diff) |
correct spelling of statistic in function name, from Pablo Hernandez
Diffstat (limited to 'usr.bin/locate')
-rw-r--r-- | usr.bin/locate/locate/locate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/locate/locate/locate.c b/usr.bin/locate/locate/locate.c index ccb7ffcdb21..66f34a209b9 100644 --- a/usr.bin/locate/locate/locate.c +++ b/usr.bin/locate/locate/locate.c @@ -1,5 +1,5 @@ /* - * $OpenBSD: locate.c,v 1.28 2015/10/23 08:02:13 tedu Exp $ + * $OpenBSD: locate.c,v 1.29 2015/10/23 14:16:02 tedu Exp $ * * Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. * Copyright (c) 1989, 1993 @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: locate.c,v 1.28 2015/10/23 08:02:13 tedu Exp $ + * $Id: locate.c,v 1.29 2015/10/23 14:16:02 tedu Exp $ */ /* @@ -110,7 +110,7 @@ void fastfind_icase(FILE *, char *, char *); void fastfind_mmap(char *, caddr_t, int, char *); void fastfind_mmap_icase(char *, caddr_t, int, char *); void search_mmap(char *, char **); -void search_stastic(char *, char **); +void search_statistic(char *, char **); unsigned long cputime(void); extern char **colon(char **, char*, char*); @@ -182,7 +182,7 @@ main(int argc, char *argv[]) dbv++; if (f_statistic) - search_stastic(path_fcodes, argv); + search_statistic(path_fcodes, argv); else search_mmap(path_fcodes, argv); } @@ -194,7 +194,7 @@ main(int argc, char *argv[]) void -search_stastic(char *db, char **s) +search_statistic(char *db, char **s) { FILE *fp; #ifdef DEBUG |