=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/dc/inout.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/dc/inout.c 2003/09/30 18:33:35 1.5 +++ src/usr.bin/dc/inout.c 2003/10/18 20:34:26 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: inout.c,v 1.5 2003/09/30 18:33:35 otto Exp $ */ +/* $OpenBSD: inout.c,v 1.6 2003/10/18 20:34:26 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: inout.c,v 1.5 2003/09/30 18:33:35 otto Exp $"; +static const char rcsid[] = "$OpenBSD: inout.c,v 1.6 2003/10/18 20:34:26 otto Exp $"; #endif /* not lint */ #include @@ -260,7 +260,7 @@ p[1] = '\0'; } else { if (asprintf(&p, "%0*lu", digits, num) == -1) - err(1, "cannot allocate string"); + err(1, NULL); } return p; }