small fix in the read_port function : without this, it can crash the kernel when using mydebugger !

This commit is contained in:
ocoursiere
2004-01-11 14:48:14 +00:00
parent f0bb91edb7
commit d0ed37202d

View File

@@ -132,7 +132,7 @@ function write_port(port : port_id; code : Longint; const buf : Pointer;
buf_size : size_t)
: status_t; cdecl; external 'root' name 'write_port';
function read_port(port : port_id; code : Longint; buf : Pointer;
function read_port(port : port_id; var code : Longint; buf : Pointer;
buf_size : size_t)
: status_t; cdecl; external 'root' name 'read_port';