set utmp entry types to user process.

This commit is contained in:
christos 2006-09-20 19:43:33 +00:00
parent 14e0a0ccc6
commit 411ddc6a74
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: utmpentry.c,v 1.9 2006/09/19 21:01:29 christos Exp $ */ /* $NetBSD: utmpentry.c,v 1.10 2006/09/20 19:43:33 christos Exp $ */
/*- /*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. * Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
__RCSID("$NetBSD: utmpentry.c,v 1.9 2006/09/19 21:01:29 christos Exp $"); __RCSID("$NetBSD: utmpentry.c,v 1.10 2006/09/20 19:43:33 christos Exp $");
#endif #endif
#include <sys/stat.h> #include <sys/stat.h>
@ -284,7 +284,7 @@ getentry(struct utmpentry *e, struct utmp *up)
e->term = 0; e->term = 0;
e->exit = 0; e->exit = 0;
e->sess = 0; e->sess = 0;
e->type = 0; e->type = USER_PROCESS;
adjust_size(e); adjust_size(e);
} }
#endif #endif