Mailing List Archive

login.c error
I had a compile-time error in login.c .. It looks like someone was copying
and pasting code and didn't check the variable names. Here's the diff:

diff login.c.orig login.c
258c258
< snprintf(buf, sizeof(buf), "%s/%s", lastlog, logname);
---
> snprintf(buf, sizeof(buf), "%s/%s", lastlog, user);


- Josh

* Josh Durham | AOE at Virginia Tech | (540) 231-9061 jdurham@vt.edu *
Re: login.c error [ In reply to ]
On Tue, 1 Feb 2000, Josh Durham wrote:

> I had a compile-time error in login.c .. It looks like someone
> was copying and pasting code and didn't check the variable names.
> Here's the diff:

Thanks, applied.

-d

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)