summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/stdio/fileno.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/stdio/fileno.c')
-rw-r--r--usr/src/lib/libc/port/stdio/fileno.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/stdio/fileno.c b/usr/src/lib/libc/port/stdio/fileno.c
index 21fc215eba..643ee4cb01 100644
--- a/usr/src/lib/libc/port/stdio/fileno.c
+++ b/usr/src/lib/libc/port/stdio/fileno.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -44,5 +43,5 @@
int
_fileno(FILE *iop)
{
- return (iop->_file);
+ return (GET_FD(iop));
}