summaryrefslogtreecommitdiff
path: root/libnetfs/trans-callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/trans-callback.c')
-rw-r--r--libnetfs/trans-callback.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libnetfs/trans-callback.c b/libnetfs/trans-callback.c
index fc844c30..4dec162e 100644
--- a/libnetfs/trans-callback.c
+++ b/libnetfs/trans-callback.c
@@ -1,6 +1,6 @@
/* Callback functions for starting translators
- Copyright (C) 1995,96,97,2001 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,2001,02 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -36,7 +36,10 @@ _netfs_translator_callback1_fn (void *cookie1, void *cookie2,
err = netfs_get_translator (np, argz, argz_len);
if (err)
- return err;
+ {
+ assert (err != EOPNOTSUPP);
+ return err;
+ }
*uid = np->nn_stat.st_uid;
*gid = np->nn_stat.st_gid;