]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32c/main.c
Update years in copyright notice for the GDB files.
[thirdparty/binutils-gdb.git] / sim / m32c / main.c
index c33824364f27506465b6311ce813a9f6b9a37be5..c500e886b6778a6c6b95a499ac94e4b58583b599 100644 (file)
@@ -1,6 +1,6 @@
 /* main.c --- main function for stand-alone M32C simulator.
 
-Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+Copyright (C) 2005-2013 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);