diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-05 10:18:58 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-05 10:18:58 +0000 |
commit | 851a06e1fd6ac0d921f96fe9e9529129b4b4c01d (patch) | |
tree | 783f7fb7682aceb9b4c030d2a3e404adda35d756 /source3/include | |
parent | fbe6685a79d6480ee5d6f97c30e78254dcf8b0ff (diff) | |
download | samba-851a06e1fd6ac0d921f96fe9e9529129b4b4c01d.tar.gz samba-851a06e1fd6ac0d921f96fe9e9529129b4b4c01d.tar.bz2 samba-851a06e1fd6ac0d921f96fe9e9529129b4b4c01d.zip |
added filename to error_packet()
(This used to be commit 2c424788dec2fd6e44c243ea115d66689dfae6c0)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_macros.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 4e8868be74..d28ef6f068 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -135,12 +135,12 @@ /* these are the datagram types */ #define DGRAM_DIRECT_UNIQUE 0x10 -#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__) -#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__) -#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__) +#define ERROR_DOS(class,code) error_packet(outbuf,NT_STATUS_OK,class,code,__LINE__,__FILE__) +#define ERROR_NT(status) error_packet(outbuf,status,0,0,__LINE__,__FILE__) +#define ERROR_BOTH(status,class,code) error_packet(outbuf,status,class,code,__LINE__,__FILE__) /* this is how errors are generated */ -#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__) +#define UNIXERROR(defclass,deferror) unix_error_packet(outbuf,defclass,deferror,__LINE__,__FILE__) #define SMB_ROUNDUP(x,g) (((x)+((g)-1))&~((g)-1)) |