Try to make indent formatting less horrible
[oweals/busybox.git] / libbb / full_read.c
index e75f967db9538fdc47ab51909c4a59580d1d713a..f4b332dcafb0db16f1874b26b64d49aafa83f56d 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Utility routines.
  *
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ ssize_t bb_full_read(int fd, void *buf, size_t len)
        total = 0;
 
        while (len > 0) {
-               cc = read(fd, buf, len);
+               cc = safe_read(fd, buf, len);
 
                if (cc < 0)
                        return cc;      /* read() returns -1 on failure. */