aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-19 17:25:40 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-06-19 17:25:40 +0000
commit294b93b36ebfb535087341cf80f836c901834b7b (patch)
treeb94c0d6a506d1ef77f79df246a26d504c84b7110 /tty.c
parenta4f977578f961651d262f3919daa8c5464ed5fc6 (diff)
downloadbusybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.gz
busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.tar.bz2
busybox-w32-294b93b36ebfb535087341cf80f836c901834b7b.zip
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 3a318ebba..f3c7fb74f 100644
--- a/tty.c
+++ b/tty.c
@@ -46,5 +46,5 @@ extern int tty_main(int argc, char **argv)
46 else 46 else
47 puts("not a tty"); 47 puts("not a tty");
48 } 48 }
49 exit(isatty(0) ? TRUE : FALSE); 49 return(isatty(0) ? TRUE : FALSE);
50} 50}