From d72e0eb7e56273d54fbb612ef9bd127e8675437e Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 17 Apr 1997 21:28:22 +0000 Subject: [PATCH] fix tab expansion --- sys/arch/i386/stand/libsa/dev_i386.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'); -- 2.20.1