From a55fef161900bf9068b3e6d3ae5f1cdf85133b8c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 17 Apr 1997 21:28:23 +0000 Subject: fix tab expansion --- sys/arch/i386/stand/libsa/dev_i386.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/stand/libsa/dev_i386.c b/sys/arch/i386/stand/libsa/dev_i386.c index 6619490a236..bf1bd19cf2c 100644 --- a/sys/arch/i386/stand/libsa/dev_i386.c +++ b/sys/arch/i386/stand/libsa/dev_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_i386.c,v 1.8 1997/04/15 21:35:13 mickey Exp $ */ +/* $OpenBSD: dev_i386.c,v 1.9 1997/04/17 21:28:22 deraadt Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -113,8 +113,9 @@ putchar(c) switch(c) { case '\t': - while(++pos % 8) + do putc(' '); + while(++pos % 8); break; case '\n': putc('\r'); -- cgit v1.2.3