summary refs log tree commit diff
path: root/sysdeps/generic/system.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-12-17 09:24:19 +0000
committerAndreas Jaeger <aj@suse.de>2003-12-17 09:24:19 +0000
commit5c7cc28c862a8877381fe0ae08e5748549d86bc8 (patch)
treea64e5fe791f7c2378a90c8950ff9c4e037e8b169 /sysdeps/generic/system.c
parent27a754a97be9b501d233c85a2c6d9baa03e5304d (diff)
downloadglibc-5c7cc28c862a8877381fe0ae08e5748549d86bc8.tar.gz
glibc-5c7cc28c862a8877381fe0ae08e5748549d86bc8.tar.xz
glibc-5c7cc28c862a8877381fe0ae08e5748549d86bc8.zip
* sysdeps/generic/system.c (__libc_system): Fix typo, reported by
Kevin Pedretti <pedretti@ieee.org>.
Diffstat (limited to 'sysdeps/generic/system.c')
-rw-r--r--sysdeps/generic/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/system.c b/sysdeps/generic/system.c
index 5f7a6b8202..cd12128cd8 100644
--- a/sysdeps/generic/system.c
+++ b/sysdeps/generic/system.c
@@ -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)