summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.c
diff options
context:
space:
mode:
authorKarel Zak2017-12-14 15:52:57 +0100
committerKarel Zak2017-12-14 15:52:57 +0100
commit7468a8d1060b2624c5d6077dc0dce3143a0586c0 (patch)
treebf405bcf2baadf0a01d79bd9fc80d2840e416c2c /misc-utils/whereis.c
parentRevert "cal: simplify leap year rule" (diff)
downloadkernel-qcow2-util-linux-7468a8d1060b2624c5d6077dc0dce3143a0586c0.tar.gz
kernel-qcow2-util-linux-7468a8d1060b2624c5d6077dc0dce3143a0586c0.tar.xz
kernel-qcow2-util-linux-7468a8d1060b2624c5d6077dc0dce3143a0586c0.zip
whereis: fix typo in debug message
Reported-by: Matthew White <mehw.is.me@inventati.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r--misc-utils/whereis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index caa155ca3..0f583cc7a 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -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)