Use fileno() in isatty() call
commitb6209b4ba495dd4379806b72735dac78b8843c03
authorDan McGee <dan@archlinux.org>
Thu, 12 Jan 2012 13:47:29 +0000 (12 07:47 -0600)
committerDan McGee <dan@archlinux.org>
Thu, 12 Jan 2012 13:47:32 +0000 (12 07:47 -0600)
tree3026ca75171b24a9e26580d8bb14ea73bbc936cb
parent73d0d743bda5367fcab2453bbe21c15e481150c2
Use fileno() in isatty() call

This was our only use of the function that had a hardcoded file
descriptor.

Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/pacman.c