summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:26 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:26 -0700
commit1df0032af76cd926e274596018f0268bebdbaf20 (patch)
tree691b3ddd4960a30f46b0dd1410e761d5857aa7ec /com32/lib/syslinux
parent0e1a0d6d9c9e9db569c466390e6c730d6bc0592f (diff)
downloadsyslinux-1df0032af76cd926e274596018f0268bebdbaf20.tar.gz
Run Nindent on com32/lib/syslinux/initramfs_loadfile.c
Automatically reformat com32/lib/syslinux/initramfs_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/lib/syslinux')
-rw-r--r--com32/lib/syslinux/initramfs_loadfile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/lib/syslinux/initramfs_loadfile.c b/com32/lib/syslinux/initramfs_loadfile.c
index fee4d4f4..1338aade 100644
--- a/com32/lib/syslinux/initramfs_loadfile.c
+++ b/com32/lib/syslinux/initramfs_loadfile.c
@@ -37,12 +37,12 @@
int initramfs_load_file(struct initramfs *ihead, const char *src_filename,
const char *dst_filename, int do_mkdir, uint32_t mode)
{
- void *data;
- size_t len;
+ void *data;
+ size_t len;
- if (loadfile(src_filename, &data, &len))
- return -1;
+ if (loadfile(src_filename, &data, &len))
+ return -1;
- return initramfs_add_file(ihead, data, len, len, dst_filename,
- do_mkdir, mode);
+ return initramfs_add_file(ihead, data, len, len, dst_filename,
+ do_mkdir, mode);
}