Shawn Landden <shawn@xxxxxxxxxxxxxxx> wrote: > + if (nf_sock == NULL) { > + fprintf(fdopen(STDERR_FILENO, "a"), > + "Could not open AF_NETLINK socket: %s\n", > + strerror(errno)); Why this fdopen() [ which can fail ] construct? -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html