Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Fix typo for unknown key keyname return.
details: https://anonhg.NetBSD.org/src/rev/f1b307f787c8
branches: trunk
changeset: 457083:f1b307f787c8
user: blymn <blymn%NetBSD.org@localhost>
date: Tue Jun 11 10:17:24 2019 +0000
description:
Fix typo for unknown key keyname return.
diffstat:
lib/libcurses/keyname.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d9d2af2f8322 -r f1b307f787c8 lib/libcurses/keyname.c
--- a/lib/libcurses/keyname.c Tue Jun 11 09:05:33 2019 +0000
+++ b/lib/libcurses/keyname.c Tue Jun 11 10:17:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: keyname.c,v 1.7 2017/01/06 13:53:18 roy Exp $ */
+/* $NetBSD: keyname.c,v 1.8 2019/06/11 10:17:24 blymn Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: keyname.c,v 1.7 2017/01/06 13:53:18 roy Exp $");
+__RCSID("$NetBSD: keyname.c,v 1.8 2019/06/11 10:17:24 blymn Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -481,7 +481,7 @@
return name;
}
/* No more names. */
- strncpy(name, "UNKOWN KEY\0", KEYNAMEMAX);
+ strncpy(name, "UNKNOWN KEY\0", KEYNAMEMAX);
return name;
#endif
}
Home |
Main Index |
Thread Index |
Old Index