Date: Mon, 30 Oct 2006 11:16:40 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 108727 for review Message-ID: <200610301116.k9UBGeWP099994@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108727 Change 108727 by piso@piso_newluxor on 2006/10/30 11:15:40 Prettify error msgs with \n. Affected files ... .. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#18 edit Differences ... ==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#18 (text+ko) ==== @@ -1534,12 +1534,14 @@ handle = dlopen (path, RTLD_LAZY); if (!handle) { fputs (dlerror(), stderr); + fputs ("\n", stderr); return (EINVAL); } p = dlsym(handle, "alias_mod"); if ((error = dlerror()) != NULL) { fputs(error, stderr); + fputs ("\n", stderr); return (EINVAL); } @@ -1550,13 +1552,14 @@ t->handle = handle; if (attach_dll(t) == EEXIST) { free(t); - fputs("dll conflict", stderr); + fputs("dll conflict\n", stderr); return (EEXIST); } m = dlsym(t->handle, "handlers"); if ((error = dlerror()) != NULL) { fputs(error, stderr); + fputs ("\n", stderr); return (EINVAL); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610301116.k9UBGeWP099994>