* sysdeps/generic/system.c (__libc_system): Fix typo, reported by
authorAndreas Jaeger <aj@suse.de>
Wed, 17 Dec 2003 09:24:19 +0000 (09:24 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 17 Dec 2003 09:24:19 +0000 (09:24 +0000)
Kevin Pedretti <pedretti@ieee.org>.

sysdeps/generic/system.c

index 5f7a6b8..cd12128 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995, 1996, 1997, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,7 +28,7 @@ __libc_system (line)
   if (line == NULL)
     return 0;                  /* This indicates no command processor.  */
 
-  __sys_errno (ENOSYS);
+  __set_errno (ENOSYS);
   return -1;
 }
 weak_alias (__libc_system, system)