aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/remove.c')
-rw-r--r--sysdeps/stub/remove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/remove.c b/sysdeps/stub/remove.c
index c044e0a..a8a4d3c 100644
--- a/sysdeps/stub/remove.c
+++ b/sysdeps/stub/remove.c
@@ -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;
}