summaryrefslogtreecommitdiffstats
path: root/bin/stty/util.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-04 08:16:32 +0000
committerbde <bde@FreeBSD.org>1995-07-04 08:16:32 +0000
commit23f9d789cdea7b4d95a2e3048192baf150c3cf90 (patch)
tree82d95e42c06a89e9501b2d6b84ae10e2889aaf1b /bin/stty/util.c
parent711bd7d1092171cbc4f7424589d6fd1e9d1abbcd (diff)
downloadFreeBSD-src-23f9d789cdea7b4d95a2e3048192baf150c3cf90.zip
FreeBSD-src-23f9d789cdea7b4d95a2e3048192baf150c3cf90.tar.gz
Improve the recently changed and an old error message: don't report probe
errors.
Diffstat (limited to 'bin/stty/util.c')
-rw-r--r--bin/stty/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stty/util.c b/bin/stty/util.c
index 2ee43ca..036c48e 100644
--- a/bin/stty/util.c
+++ b/bin/stty/util.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: util.c,v 1.2 1994/09/24 02:59:05 davidg Exp $
*/
#ifndef lint
@@ -62,5 +62,5 @@ checkredirect()
if (isatty(STDOUT_FILENO) && isatty(STDERR_FILENO) &&
!fstat(STDOUT_FILENO, &sb1) && !fstat(STDERR_FILENO, &sb2) &&
(sb1.st_rdev != sb2.st_rdev))
-warn("stdout appears redirected, but stdin is the control descriptor");
+warnx("stdout appears redirected, but stdin is the control descriptor");
}
OpenPOWER on IntegriCloud