]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
whereis: fix typo in debug message
authorKarel Zak <kzak@redhat.com>
Thu, 14 Dec 2017 14:52:57 +0000 (15:52 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 14 Dec 2017 14:52:57 +0000 (15:52 +0100)
Reported-by: Matthew White <mehw.is.me@inventati.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/whereis.c

index caa155ca344dfc8421b8d298a81158ad144bb1e0..0f583cc7a0bcd6e50ef1b77894f61c378d1b8ce3 100644 (file)
@@ -455,7 +455,7 @@ static void lookup(const char *pattern, struct wh_dirlist *ls, int want)
        DBG(SEARCH, ul_debug("lookup dirs for '%s' (%s), want: %s %s %s",
                                patbuf, pattern,
                                want & BIN_DIR ? "bin" : "",
-                               want & MAN_DIR ? "min" : "",
+                               want & MAN_DIR ? "man" : "",
                                want & SRC_DIR ? "src" : ""));
        p = strrchr(patbuf, '.');
        if (p)