]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/stub/remove.c
update from main archive
[thirdparty/glibc.git] / sysdeps / stub / remove.c
index c044e0aac0c4651bc1911cfb3a97f1c253116b13..a8a4d3cb36df3e663e0b1a0416c6c18a0910a595 100644 (file)
@@ -1,5 +1,5 @@
 /* ANSI C `remove' function to delete a file or directory.  Stub version.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 1996 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
@@ -24,7 +24,7 @@ int
 remove (file)
      const char *file;
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }