=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/help.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/usr.bin/mg/help.c 2002/06/21 05:37:20 1.18 +++ src/usr.bin/mg/help.c 2002/07/01 14:33:44 1.19 @@ -1,4 +1,4 @@ -/* $OpenBSD: help.c,v 1.18 2002/06/21 05:37:20 vincent Exp $ */ +/* $OpenBSD: help.c,v 1.19 2002/07/01 14:33:44 vincent Exp $ */ /* * Help functions for Mg 2 @@ -141,7 +141,7 @@ if (fun == rescan || fun == selfinsert) continue; keyname(buf, sizeof(buf), c); - snprintf(key, sizeof key, "%s%s ", prefix, buf); + (void)snprintf(key, sizeof key, "%s%s ", prefix, buf); if (fun == NULL) { if (showall(bp, newmap, key) == FALSE) return FALSE; @@ -229,7 +229,7 @@ if (nfun == NULL) { if (findbind(newmap, fun, buf2, sizeof(buf2)) == TRUE) { keyname(key, sizeof(key), c); - snprintf(buf, len, "%s %s", key, buf2); + (void)snprintf(buf, len, "%s %s", key, buf2); return TRUE; } }