$OpenBSD: patch-backend_dell1600n_net_c,v 1.1 2006/08/14 12:55:30 kurt Exp $ --- backend/dell1600n_net.c.orig Tue Aug 8 22:51:16 2006 +++ backend/dell1600n_net.c Tue Aug 8 22:51:38 2006 @@ -1762,7 +1762,7 @@ int ProcessPageData (struct ScannerState *pState) { - char tempFilename[TMP_MAX] = "scan.dat"; + char tempFilename[L_tmpnam] = "scan.dat"; FILE *fTmp; int fdTmp; struct jpeg_source_mgr jpegSrcMgr;