summaryrefslogtreecommitdiff
path: root/src/getty-generator/getty-generator.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-13 23:21:35 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-13 23:24:16 +0100
commit3fa5dd6de798e17d93531bc900b8e2dc587c38f3 (patch)
tree710755d62e385532fa9aeca00a927f53ba8c0e1c /src/getty-generator/getty-generator.c
parent7c9a6f906308a6474f1ebb98058c4a33a02c33f1 (diff)
getty-generator: fix stripping /dev/
Diffstat (limited to 'src/getty-generator/getty-generator.c')
-rw-r--r--src/getty-generator/getty-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c
index feb58156ea..aeb6d71d74 100644
--- a/src/getty-generator/getty-generator.c
+++ b/src/getty-generator/getty-generator.c
@@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
t = tty;
/* Then, make sure it's actually a pty */
- t = path_startswith(tty, "pts/");
+ t = path_startswith(t, "pts/");
if (!t)
continue;