=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/file/Attic/funcs.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/file/Attic/funcs.c 2009/10/27 23:59:37 1.7 --- src/usr.bin/file/Attic/funcs.c 2014/05/18 17:50:11 1.8 *************** *** 1,4 **** ! /* $OpenBSD: funcs.c,v 1.7 2009/10/27 23:59:37 deraadt Exp $ */ /* * Copyright (c) Christos Zoulas 2003. * All Rights Reserved. --- 1,4 ---- ! /* $OpenBSD: funcs.c,v 1.8 2014/05/18 17:50:11 espie Exp $ */ /* * Copyright (c) Christos Zoulas 2003. * All Rights Reserved. *************** *** 121,126 **** --- 121,131 ---- file_error(ms, errno, "cannot allocate %zu bytes", len); } + protected void + file_oomem2(struct magic_set *ms, size_t len, size_t l2) + { + file_error(ms, errno, "cannot allocate %zu * %zu bytes", len, l2); + } protected void file_badseek(struct magic_set *ms) {