summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echo.c b/src/echo.c
index cae62ce8d..b8c4e58d1 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -126,7 +126,7 @@ just_echo:
register char *s = argv[0];
register int c;
- while (c = *s++)
+ while ((c = *s++))
{
if (c == '\\' && *s)
{