summaryrefslogtreecommitdiff
path: root/tests/fs-tests/integrity/integck.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-11 10:44:29 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-11 10:44:29 +0200
commitc8f34d79c4f5d6f061d744538949167afa803f5f (patch)
treeacd5c55b74387f6e96a110a08cc21417ba1c24b9 /tests/fs-tests/integrity/integck.c
parent66a2c7ba305ddf3865113aa42b5c99ace9289640 (diff)
integck: fix identation a bit
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/fs-tests/integrity/integck.c')
-rw-r--r--tests/fs-tests/integrity/integck.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c
index ee37a0d..8badd1f 100644
--- a/tests/fs-tests/integrity/integck.c
+++ b/tests/fs-tests/integrity/integck.c
@@ -1434,9 +1434,9 @@ static void save_file(int fd, struct file_info *file)
struct write_info *w;
char buf[IO_BUFFER_SIZE];
char name[FILENAME_MAX];
- const char * read_suffix = ".integ.sav.read";
- const char * write_suffix = ".integ.sav.written";
- size_t fname_len = strlen(get_file_name(file));
+ const char * read_suffix = ".integ.sav.read";
+ const char * write_suffix = ".integ.sav.written";
+ size_t fname_len = strlen(get_file_name(file));
/* Open file to save contents to */
strcpy(name, "/tmp/");
@@ -2917,20 +2917,20 @@ static struct mntent *get_tested_fs_mntent(void)
{
const char *mp;
struct mntent *mntent;
- FILE *f;
+ FILE *f;
mp = "/proc/mounts";
- f = fopen(mp, "rb");
- if (!f) {
+ f = fopen(mp, "rb");
+ if (!f) {
mp = "/etc/mtab";
- f = fopen(mp, "rb");
+ f = fopen(mp, "rb");
}
CHECK(f != NULL);
- while ((mntent = getmntent(f)) != NULL)
+ while ((mntent = getmntent(f)) != NULL)
if (!strcmp(mntent->mnt_dir, fsinfo.mount_point))
break;
- CHECK(fclose(f) == 0);
+ CHECK(fclose(f) == 0);
return mntent;
}