$NetBSD: patch-ba,v 1.2 2006/05/12 12:26:59 joerg Exp $ --- src/util.c.orig 2000-03-06 21:23:06.000000000 +0000 +++ src/util.c @@ -11,8 +11,7 @@ #include #include #include -#ifdef __FreeBSD__ -#else +#if !defined(__FreeBSD__) && !defined(__DragonFly__) #include #endif #ifdef linux @@ -257,7 +256,7 @@ void save_image (char *filename, struct else { snprintf(errormsg,1024, -"The image couldn't be saved to %s because of the following error: +"The image couldn't be saved to %s because of the following error: \n\ %s",filename,sys_errlist[errno]); error_dialog(errormsg); }