+/*
+ * subdirmk - example code
+ * Copyright 2019 Mark Wooding
+ * SPDX-License-Identifier: LGPL-2.0-or-later
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const char *p;
p = greeting();
- if (!STRNCMP(p, ==, "Hello", 5)) {
+ if (STRNCMP(p, !=, "Hello", 5)) {
fprintf(stderr, "greeting `%s' has bad salutation\n", p);
exit(1);
}