Patch for 'ttyS0l' Re: [BusyBox] /etc/issue
Nick Fedchik
fnm at fusion.ukrsat.com
Mon Jan 27 04:47:03 UTC 2003
On Mon, 27 Jan 2003, Nick Fedchik wrote:
>Also 'ttyS0l' has left symbol 'l'. Bug?
...
>ttyS0l at brama (Linux 2.5.55 @ i686)
Removed unused char *ret;
Added break;
The patch attached.
--
Nick Fedchik, FNM3-RIPE(UANIC)
Internet Dept./ISP UkrSat, Kiev, Ukraine
-------------- next part --------------
--- busybox/libbb/login.c 2003-01-21 22:59:34 +0200
+++ busybox-dirty/libbb/login.c 2003-01-27 13:43:28 +0200
@@ -37,7 +37,6 @@ void print_login_issue(const char *issue
FILE *fd;
int c;
char buf[256];
- char *ret;
time_t t;
struct utsname uts;
@@ -96,6 +95,7 @@ void print_login_issue(const char *issue
case 'l':
printf("%s", tty);
+ break;
default:
putchar(c);
More information about the busybox
mailing list