--- root-tail/root-tail.c 2004/04/08 01:19:57 1.53 +++ root-tail/root-tail.c 2004/04/08 03:34:35 1.54 @@ -1406,7 +1406,10 @@ e->fname = NULL; e->inode = 0; - e->desc = xstrdup ("stdin"); + if (desc == arg) + e->desc = xstrdup ("stdin"); + else + e->desc = xstrdup (desc); } else {