summaryrefslogtreecommitdiff
path: root/src/os/freebsd-os_final_wtmp.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-21 13:50:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-21 13:50:10 +0000
commitdacf8817be3943b8911d290fb9cbaaa5d659ad95 (patch)
treeacd0824056af774b20c01bb7649a1ea05c25dda9 /src/os/freebsd-os_final_wtmp.c
parent2c0bf67b7612a11f64e7407a69b51d909a5ae277 (diff)
downloads6-linux-init-dacf8817be3943b8911d290fb9cbaaa5d659ad95.tar.xz
The final wtmp entry is also os-specific
Diffstat (limited to 'src/os/freebsd-os_final_wtmp.c')
-rw-r--r--src/os/freebsd-os_final_wtmp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/os/freebsd-os_final_wtmp.c b/src/os/freebsd-os_final_wtmp.c
new file mode 100644
index 0000000..868e0c3
--- /dev/null
+++ b/src/os/freebsd-os_final_wtmp.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include "os.h"
+
+ /* FreeBSD only does utx.log (wtmp) operations at the rc level. */
+
+void os_final_wtmp (int what)
+{
+ (void)what ;
+}