summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-12-17 00:06:21 (GMT)
committernijtmans <nijtmans>2009-12-17 00:06:21 (GMT)
commit4765b94617414fb3994c4f1401cca36d0fae46eb (patch)
tree4962942f036bee174b8de4f4cf9bde8d867a9e7a /unix/tclUnixNotfy.c
parent1ccff541fe927c0214548f5717ad58bede0d22eb (diff)
downloadtcl-4765b94617414fb3994c4f1401cca36d0fae46eb.zip
tcl-4765b94617414fb3994c4f1401cca36d0fae46eb.tar.gz
tcl-4765b94617414fb3994c4f1401cca36d0fae46eb.tar.bz2
Fix gcc warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r--unix/tclUnixNotfy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 3be0bb9..e8860df 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixNotfy.c,v 1.40 2009/12/16 23:26:00 nijtmans Exp $
+ * RCS: @(#) $Id: tclUnixNotfy.c,v 1.41 2009/12/17 00:06:21 nijtmans Exp $
*/
#include "tclInt.h"
@@ -785,7 +785,7 @@ Tcl_WaitForEvent(
tsdPtr->onList = 1;
if (write(triggerPipe, "", 1) != 1) {
- Tcl_Panic("Tcl_FinalizeNotifier: unable to write to triggerPipe");
+ Tcl_Panic("Tcl_WaitForEvent: unable to write to triggerPipe");
}
}
@@ -817,7 +817,7 @@ Tcl_WaitForEvent(
tsdPtr->nextPtr = tsdPtr->prevPtr = NULL;
tsdPtr->onList = 0;
if (write(triggerPipe, "", 1) != 1) {
- Tcl_Panic("Tcl_FinalizeNotifier: unable to write to triggerPipe");
+ Tcl_Panic("Tcl_WaitForEvent: unable to write to triggerPipe");
}
}