summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/trans-callback.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c
index 0a0bc450..283b184f 100644
--- a/libdiskfs/trans-callback.c
+++ b/libdiskfs/trans-callback.c
@@ -36,7 +36,10 @@ _diskfs_translator_callback1_fn (void *cookie1, void *cookie2,
err = diskfs_get_translator (np, argz, (u_int *) argz_len);
if (err)
- return err;
+ {
+ assert (err != EOPNOTSUPP);
+ return err;
+ }
*uid = np->dn_stat.st_uid;
*gid = np->dn_stat.st_gid;