Changeset 745 for trunk/server/source3/lib/errmap_unix.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/lib/errmap_unix.c
r414 r745 106 106 { ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED}, 107 107 #endif 108 108 #ifdef ENOTSUP 109 { ENOTSUP, ERRSRV, ERRnosupport, NT_STATUS_NOT_SUPPORTED}, 110 #endif 109 111 { 0, 0, 0, NT_STATUS_OK } 110 112 }; … … 138 140 /* Default return */ 139 141 return NT_STATUS_ACCESS_DENIED; 142 } 143 144 /* Convert a Unix error code to a WERROR. */ 145 WERROR unix_to_werror(int unix_error) 146 { 147 return ntstatus_to_werror(map_nt_error_from_unix(unix_error)); 140 148 } 141 149
Note:
See TracChangeset
for help on using the changeset viewer.