[Cc-ing to the rumpkernel-users list, better discussed there rather than
hidden away under many clicks of Github]
> Looks good, except rump_pub_etfs_register(), like all rump_pub calls, returns
> a NetBSD errno. So you can't use warn() there meaningfully.
Right, in fact rump_etfs(3) says nothing about the return values of those
functions; I just assumed they returned 0 on success and -1 on error (and
set errno). Reading rumpvfs/rumpfs.c it turns out they actually return 0
on success and the NetBSD errno directly otherwise.
Given there's no way to sensibly translate the NetBSD errno to a local one,
for this particular case shall I just call
warnx("%s: rump_pub_etfs_register failed (errno=%d)", fsdevice, rv)
?
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users