about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-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)