[BusyBox] getty -r1.4 small fix
Axel Barnitzke
barney at xkontor.com
Sat Apr 6 15:07:03 UTC 2002
Hi Eric, hi bb-list
I made a curious pleasure-weekend update a few minutes ago and I
had compile time error in pwd_grp/getty.c
heres's the patch
diff -u -p -b -r1.4 getty.c
--- pwd_grp/getty.c 6 Apr 2002 05:03:38 -0000 1.4
+++ pwd_grp/getty.c 6 Apr 2002 21:56:11 -0000
@@ -500,6 +500,8 @@ static void parse_speeds(struct options
static void update_utmp(char *line)
{
struct utmp ut;
+ struct utmp *utp;
+ time_t t;
int mypid = getpid();
#if ! (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))
struct flock lock;
In release 1.3 these two variables where ifndef'ed __UCLIBC__
is that needed anymore?
Cheers
-- Barney
More information about the busybox
mailing list