Erik Nordmark wrote:
But what type of strings would dlpi_strerror generate into this string
(void) fprintf(stderr,
gettext("WARNING: skipping
network "
! "interface '%s' which cannot be
opened: "
! "%s.\n"),
nwiftab.zone_nwif_physical,
! dlpi_strerror(err));
I wonder whether dlpi_strerror would help the user understand what is
wrong or whether it would add confusion.
dlpi_strerror would be a strerror, or an error description of error
codes from dlpi.h or libdlpi.h.
Probably pointing out that it is dlpi error would give the user an idea:
gettext("WARNING: skipping network "
! "interface '%s' which cannot be
opened "
! "dlpi error (%s).\n"),
nwiftab.zone_nwif_physical,
! dlpi_strerror(err));
-sagun
_______________________________________________
networking-discuss mailing list
[email protected]