From 81e060fdf3d23d95ddc7072bb2695689a85a3550 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 29 May 2009 15:10:25 -0700 Subject: [PATCH] Run Nindent on com32/lib/sys/read.c Automatically reformat com32/lib/sys/read.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin --- com32/lib/sys/read.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/com32/lib/sys/read.c b/com32/lib/sys/read.c index 316ee00..e097ade 100644 --- a/com32/lib/sys/read.c +++ b/com32/lib/sys/read.c @@ -40,12 +40,12 @@ ssize_t read(int fd, void *buf, size_t count) { - struct file_info *fp = &__file_info[fd]; + struct file_info *fp = &__file_info[fd]; - if ( fd >= NFILES || !fp->iop ) { - errno = EBADF; - return -1; - } + if (fd >= NFILES || !fp->iop) { + errno = EBADF; + return -1; + } - return fp->iop->read(fp, buf, count); + return fp->iop->read(fp, buf, count); } -- 2.7.4