Searched refs:logfd (Results 1 – 2 of 2) sorted by relevance
1006 int logfd = open_or_warn(G.log_filename, O_WRONLY | O_CREAT | O_APPEND); in reopen_logfile_to_stderr() local1007 if (logfd >= 0) in reopen_logfile_to_stderr()1008 xmove_fd(logfd, STDERR_FILENO); in reopen_logfile_to_stderr()
977 int logfd = open("mdev.log", O_WRONLY | O_APPEND); in open_mdev_log() local978 if (logfd >= 0) { in open_mdev_log()979 xmove_fd(logfd, STDERR_FILENO); in open_mdev_log()