From: deraadt Date: Thu, 17 Apr 1997 21:28:22 +0000 (+0000) Subject: fix tab expansion X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d72e0eb7e56273d54fbb612ef9bd127e8675437e;p=openbsd fix tab expansion --- 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');