#ifdef TEST_PROGRAM
#include "pathnames.h"
+#include "cctype.h"
static int parser_errcb(struct libmnt_table *tb __attribute__((unused)),
const char *filename, int line)
mnt_table_set_cache(tb, mpc);
mnt_unref_cache(mpc);
- if (strcasecmp(find, "source") == 0)
+ if (c_strcasecmp(find, "source") == 0)
fs = mnt_table_find_source(tb, what, dr);
- else if (strcasecmp(find, "target") == 0)
+ else if (c_strcasecmp(find, "target") == 0)
fs = mnt_table_find_target(tb, what, dr);
if (!fs)