diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-20 12:01:43 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-21 10:29:54 +0100 |
commit | d1fd151cdd1faec5fd4966118586c746a89d93c1 (patch) | |
tree | 93cf4eb0e36cd0c47392639d0ffd734e0f638da7 /nfsd | |
parent | 562e3a8a2652dd960d5d76208c723f717e47330e (diff) |
nfsd: fix error handling in op_remove
Found using the Clang Static Analyzer.
* nfsd/ops.c (op_remove): Fix error handling.
Diffstat (limited to 'nfsd')
-rw-r--r-- | nfsd/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -398,7 +398,7 @@ op_remove (struct cache_handle *c, err = dir_unlink (c->port, name); free (name); - return 0; + return err; } static error_t |