git: a9a43945d36a - main - grammar

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Mon, 14 Feb 2022 18:20:05 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/src/commit/?id=a9a43945d36ac0ecc21b00298963786e7e267d39

commit a9a43945d36ac0ecc21b00298963786e7e267d39
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2022-02-14 18:16:43 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2022-02-14 18:16:43 +0000

    grammar
    
    Reported by:    jrtc27
---
 usr.bin/locate/locate/util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/locate/locate/util.c b/usr.bin/locate/locate/util.c
index aba90b1deda7..953f51a74d13 100644
--- a/usr.bin/locate/locate/util.c
+++ b/usr.bin/locate/locate/util.c
@@ -289,14 +289,14 @@ check_size(char *db)
         off_t len;
 
 	if (stat(db, &sb) == -1) {
-		warnx("the locate database '%s' does not exists.", db);
+		warnx("the locate database '%s' does not exist.", db);
 		rebuild_message(db);
 		return(0);
 	}
 	len = sb.st_size;
 
 	if (len < (2 * NBG)) {
-		warnx("the locate database '%s' is less than %d bytes large.", db, (2 * NBG));
+		warnx("the locate database '%s' is smaller than %d bytes large.", db, (2 * NBG));
 		rebuild_message(db);
 		return(0);
 	}