[PATCH 1/2] linux ttyname: return link if appropriate
Mike Frysinger
vapier@gentoo.org
Mon Apr 18 20:02:00 GMT 2016
On 18 Apr 2016 19:53, Serge Hallyn wrote:
> + strcpy (ttyname_buf, procname);
> + return ttyname_buf;
at this point you could just write:
return strcpy (ttyname_buf, procname);
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160418/e94d9799/attachment.sig>
More information about the Libc-alpha
mailing list