=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tset/tset.c,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/usr.bin/tset/tset.c 2013/09/18 16:21:30 1.36 --- src/usr.bin/tset/tset.c 2015/08/20 22:28:58 1.37 *************** *** 1,4 **** ! /* $OpenBSD: tset.c,v 1.36 2013/09/18 16:21:30 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * --- 1,4 ---- ! /* $OpenBSD: tset.c,v 1.37 2015/08/20 22:28:58 deraadt Exp $ */ /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * *************** *** 105,111 **** #include #include ! MODULE_ID("$Id: tset.c,v 1.36 2013/09/18 16:21:30 millert Exp $") /* * SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS, --- 105,111 ---- #include #include ! MODULE_ID("$Id: tset.c,v 1.37 2015/08/20 22:28:58 deraadt Exp $") /* * SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS, *************** *** 373,379 **** char *base = 0; copy = strdup(arg); ! mapp = (MAP *) malloc(sizeof(MAP)); if (copy == 0 || mapp == 0) failed("malloc"); mapp->next = 0; --- 373,379 ---- char *base = 0; copy = strdup(arg); ! mapp = malloc(sizeof(MAP)); if (copy == 0 || mapp == 0) failed("malloc"); mapp->next = 0;