* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#include <X11/Xlib.h>
#include <Xm/MwmUtil.h>
+#include <errno.h>
#include <Xm/Xm.h>
#include <Xm/XmP.h>
sprintf(bufr, "%s*startupDlg.x: %d\n", bufr, x);
sprintf(bufr, "%s*startupDlg.y: %d\n", bufr, y);
- write (fd, bufr, strlen(bufr));
+ if(-1 == write (fd, bufr, strlen(bufr))) {
+ perror(strerror(errno));
+ }
}
}