From 8651ac57368977cafd461aa23c564c7d7970bd1e Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 21 Apr 1994 08:01:24 +0000 Subject: [PATCH] typo --- sys/arch/i386/floppy/echo/echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arch/i386/floppy/echo/echo.c b/sys/arch/i386/floppy/echo/echo.c index 8f388e99c319..23e1080bda04 100644 --- a/sys/arch/i386/floppy/echo/echo.c +++ b/sys/arch/i386/floppy/echo/echo.c @@ -32,7 +32,7 @@ #include #include -#define writestr(x) write(STDOUT_FILENO, x, sizeof(x)) +#define writestr(x) write(STDOUT_FILENO, x, strlen(x)) /* ARGSUSED */ main(argc, argv)