[AArch64][PATCH 1/14] Support ARMv8.2 FP16 Adv.SIMD instructions.
[deliverable/binutils-gdb.git] / sim / m32c / main.c
index 589a6005f3c88727d558543549d1184853f3fd99..b8e1ce46364f6a1b2286df9f03606886201198cf 100644 (file)
@@ -1,6 +1,6 @@
 /* main.c --- main function for stand-alone M32C simulator.
 
-Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+Copyright (C) 2005-2015 Free Software Foundation, Inc.
 Contributed by Red Hat, Inc.
 
 This file is part of the GNU simulators.
@@ -98,7 +98,7 @@ setup_tcp_console (char *portname)
   address.sin_port = htons (port);
 
   isocket = socket (AF_INET, SOCK_STREAM, 0);
-  if (isocket < 0)
+  if (isocket == -1)
     {
       perror ("socket");
       exit (1);
This page took 0.023959 seconds and 4 git commands to generate.