Fix bug introduced by last commit (print template instead of toybuf).
authorRob Landley <rob@landley.net>
Thu, 12 Feb 2015 22:41:59 +0000 (16:41 -0600)
committerRob Landley <rob@landley.net>
Thu, 12 Feb 2015 22:41:59 +0000 (16:41 -0600)
commit67d9ea5a81c8083875ac7420d7e6a62766b48b6f
tree6e0fc10e2ef16fef82292844a4cbefe092f52766
parentb2bb6e65f3461d1dfdcd3614c3c63f7a1453840b
Fix bug introduced by last commit (print template instead of toybuf).

Also, xstrdup() the unmodified template because changing the environment string
could make the changed version show up in "ps".
toys/lsb/mktemp.c