diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-12 13:36:02 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-12 13:36:02 +0000 |
commit | 22d1a9da68a8ccd5c5835ec7b8268b5c31b07a44 (patch) | |
tree | 99fecd5c9329183584c92ab25ecec3a0d030ade5 /src/skaembutils/s6-test.c | |
parent | 1b5312d5c01fd5e12b938cfe65cda562e822619d (diff) | |
download | s6-portable-utils-22d1a9da68a8ccd5c5835ec7b8268b5c31b07a44.tar.xz |
Fix a few omissions2.2.0.0
Diffstat (limited to 'src/skaembutils/s6-test.c')
-rw-r--r-- | src/skaembutils/s6-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skaembutils/s6-test.c b/src/skaembutils/s6-test.c index d2d3b76..474eded 100644 --- a/src/skaembutils/s6-test.c +++ b/src/skaembutils/s6-test.c @@ -424,7 +424,7 @@ static int run (struct node const *tree, unsigned int root) unsigned int fd ; if (!uint0_scan(tree[tree[root].arg1].data, &fd)) strerr_dief2x(100, tree[root].data, " requires an integer argument") ; - return isatty((int)fd) ; + return isatty(fd) ; } case T_NONZERO : return tree[tree[root].arg1].data[0] ; |