summaryrefslogtreecommitdiffstats
path: root/ax25
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-26 17:20:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-26 21:58:43 +0100
commit5ceff9e8d0c01defdada05d0a289fc94380669ac (patch)
tree37d3ec703b73e08e443e5aae32f63f8ee895611b /ax25
parentf763bc98e28fb1ed623bb746c1766c0ff8773173 (diff)
axspawn: Fix missleading indentation.
axspawn.c:1777:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (pw->pw_dir && *(pw->pw_dir)) ^~ axspawn.c:1779:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ ret = chdir(p); ^~~ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25')
-rw-r--r--ax25/axspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c
index 253e5c3..6846d3b 100644
--- a/ax25/axspawn.c
+++ b/ax25/axspawn.c
@@ -1776,7 +1776,7 @@ again:
ret = -1;
if (pw->pw_dir && *(pw->pw_dir))
p = pw->pw_dir;
- ret = chdir(p);
+ ret = chdir(p);
if (ret != 0) {
p = "/tmp";
chdir(p);