[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rt-users
Subject:    [PATCH 04/16] rt-tests: rt-utils.c: Correct mix of spaces and tabs in code indentation
From:       John Kacur <jkacur () redhat ! com>
Date:       2020-10-29 17:40:45
Message-ID: 20201029174057.20033-5-jkacur () redhat ! com
[Download RAW message or body]

Fix the mix of spaces and tabs in the code indentation.

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 src/lib/rt-utils.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/rt-utils.c b/src/lib/rt-utils.c
index f786588706cd..54a201661786 100644
--- a/src/lib/rt-utils.c
+++ b/src/lib/rt-utils.c
@@ -392,11 +392,11 @@ void open_tracemark_fd(void)
 
 int trace_file_exists(char *name)
 {
-       struct stat sbuf;
-       char *tracing_prefix = get_debugfileprefix();
-       char path[MAX_PATH];
-       strcat(strcpy(path, tracing_prefix), name);
-       return stat(path, &sbuf) ? 0 : 1;
+	struct stat sbuf;
+	char *tracing_prefix = get_debugfileprefix();
+	char path[MAX_PATH];
+	strcat(strcpy(path, tracing_prefix), name);
+	return stat(path, &sbuf) ? 0 : 1;
 }
 
 void debugfs_prepare(void)
-- 
2.26.2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic