PERFORCE change 108727 for review
Paolo Pisati
piso at FreeBSD.org
Mon Oct 30 11:16:57 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=108727
Change 108727 by piso at 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);
}
More information about the p4-projects
mailing list