about summary refs log tree commit diff
path: root/sysdeps/generic/crypt-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/crypt-entry.c')
-rw-r--r--sysdeps/generic/crypt-entry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/crypt-entry.c b/sysdeps/generic/crypt-entry.c
index 4a11b25752..ba23d1f3d4 100644
--- a/sysdeps/generic/crypt-entry.c
+++ b/sysdeps/generic/crypt-entry.c
@@ -1,5 +1,5 @@
 /* Wrapper around MD5 sum replacement for crypt function.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -48,7 +48,7 @@ crypt_r (key, salt, data)
     return md5_crypt_r (key, salt, (char *) data, sizeof (struct crypt_data));
 
   /* We don't have DES encryption.  */
-  __set_errno (ENOSYS);
+  __set_errno (EOPNOTSUPP);
   return NULL;
 }
 
@@ -63,6 +63,6 @@ crypt (key, salt)
     return md5_crypt (key, salt);
 
   /* We don't have DES encryption.  */
-  __set_errno (ENOSYS);
+  __set_errno (EOPNOTSUPP);
   return NULL;
 }