@@ -101,7 +101,7 @@
#define strncat_P(a, b, n) strncat((a), (b), (n))
#endif
#ifndef strncpy_P
-#define strncpy_P(a, b, n) strncmp((a), (b), (n))
+#define strncpy_P(a, b, n) strncpy((a), (b), (n))
#ifndef strpbrk_P
#define strpbrk_P(str, chrs) strpbrk((str), (chrs))