aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-vt.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
commit3e07c8b1657e28f19072b430936e88be040fb319 (patch)
tree079b9c8b4669873578cce9eccd79d53c89467a1f /src/mds-vt.c
parentm + make sure we never lose errno (diff)
downloadmds-3e07c8b1657e28f19072b430936e88be040fb319.tar.gz
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.bz2
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.xz
rename pfail to fail
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-vt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c
index b268647..1cc377e 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -277,7 +277,7 @@ int initialise_server(void)
no_display:
eprint("no display has been set, how did this happen.");
return 1;
- pfail:
+ fail:
xperror(*argv);
unlink(vtfile_path);
if (display_tty_fd >= 0)
@@ -451,7 +451,7 @@ int master_loop(void)
xperror(*argv);
vt_close(display_tty_fd, &old_vt_stat);
goto done;
- pfail:
+ fail:
xperror(*argv);
done:
rc |= secondary_thread_failed;
@@ -503,7 +503,7 @@ void* secondary_loop(void* data)
}
goto done;
- pfail:
+ fail:
xperror(*argv);
secondary_thread_failed = 1;
done: