diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:26 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:26 -0700 |
commit | 333f5836aa2f334680574e83fb9757a6250d9708 (patch) | |
tree | ee2373733ba54496bb5cca3556c1b5b50099b411 /com32 | |
parent | bb089f01ffb00e2396ef7318ea86357bf202f6b6 (diff) | |
download | syslinux-333f5836aa2f334680574e83fb9757a6250d9708.tar.gz |
Run Nindent on com32/lib/syslinux/loadfile.c
Automatically reformat com32/lib/syslinux/loadfile.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/lib/syslinux/loadfile.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/com32/lib/syslinux/loadfile.c b/com32/lib/syslinux/loadfile.c index 7ad8e817..fa96c656 100644 --- a/com32/lib/syslinux/loadfile.c +++ b/com32/lib/syslinux/loadfile.c @@ -43,21 +43,21 @@ #define INCREMENTAL_CHUNK 1024*1024 -int loadfile(const char *filename, void **ptr, size_t *len) +int loadfile(const char *filename, void **ptr, size_t * len) { - FILE *f; - int rv, e; + FILE *f; + int rv, e; - f = fopen(filename, "r"); - if ( !f ) - return -1; + f = fopen(filename, "r"); + if (!f) + return -1; - rv = floadfile(f, ptr, len, NULL, 0); - e = errno; + rv = floadfile(f, ptr, len, NULL, 0); + e = errno; - fclose(f); + fclose(f); - if (rv) - errno = e; - return rv; + if (rv) + errno = e; + return rv; } |