From fdefd8feba896a4062d722596f47f789471742b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Sat, 11 Feb 2017 08:53:20 +0100 Subject: [PATCH] Fixed bad indentations (cosmetic) --- libntfs-3g/attrib.c | 2 +- libntfs-3g/security.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c index a5a6549a..df1badad 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -2215,7 +2215,7 @@ retry: } else written = ntfs_pwrite(vol->dev, wpos, to_write, b); - } + } } else written = to_write; /* If everything ok, update progress counters and continue. */ diff --git a/libntfs-3g/security.c b/libntfs-3g/security.c index b87745a4..1871175a 100644 --- a/libntfs-3g/security.c +++ b/libntfs-3g/security.c @@ -523,8 +523,7 @@ static int entersecurity_data(ntfs_volume *vol, */ res = ntfs_attr_shrink_size(vol->secure_ni,STREAM_SDS, 4, offs - gap + ALIGN_SDS_BLOCK + fullsz); - } - else + } else errno = ENOSPC; free(fullattr); } else