From 8adc2377152affd70c7befec786950db0f97f2a9 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 26 Aug 2008 11:43:57 -1000 Subject: mystrstr() -> strstr() --- loader/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/init.c b/loader/init.c index e7a834e2d..f2d4cf170 100644 --- a/loader/init.c +++ b/loader/init.c @@ -328,7 +328,7 @@ static int setupTerminal(int fd) { if ((fdn = open("/proc/cmdline", O_RDONLY, 0)) != -1) { len = read(fdn, buf, sizeof(buf) - 1); close(fdn); - if (len > 0 && mystrstr(buf, "utf8")) + if (len > 0 && strstr(buf, "utf8")) env[ENV_TERM] = "TERM=vt100"; } } -- cgit