summaryrefslogtreecommitdiffstats
path: root/lib/libulog/ulog.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-03 17:05:36 +0000
committered <ed@FreeBSD.org>2009-12-03 17:05:36 +0000
commit8ed84589ca5300180e8242effe8d9b72fe38280a (patch)
treeaacd1519b4e057808c4b1be81b7237ba37310918 /lib/libulog/ulog.h
parent03da910d8db01460d044c3ff90cc30e8a00c63d0 (diff)
downloadFreeBSD-src-8ed84589ca5300180e8242effe8d9b72fe38280a.zip
FreeBSD-src-8ed84589ca5300180e8242effe8d9b72fe38280a.tar.gz
Use USER_PROCESS instead of LOGIN_PROCESS.
POSIX isn't clear about how the fields should be used, but according to utmpx(5) on Linux, LOGIN_PROCESS refers to a TTY that's still running a getty.
Diffstat (limited to 'lib/libulog/ulog.h')
-rw-r--r--lib/libulog/ulog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libulog/ulog.h b/lib/libulog/ulog.h
index fc95c3b..2551f91 100644
--- a/lib/libulog/ulog.h
+++ b/lib/libulog/ulog.h
@@ -71,11 +71,11 @@ struct ulog_utmpx {
#endif
#define OLD_TIME 2
#define NEW_TIME 3
-#if 0
#define USER_PROCESS 4
+#if 0
#define INIT_PROCESS 5
-#endif
#define LOGIN_PROCESS 6
+#endif
#define DEAD_PROCESS 7
#define SHUTDOWN_TIME 8
OpenPOWER on IntegriCloud