Changeset 6022

Show
Ignore:
Timestamp:
11/01/12 14:04:24 (7 years ago)
Author:
cmatthew
Message:

fix incorrect return code for getpid

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/branches/nacl_repy/seattlelib/sys_getpid.repy

    r5777 r6022  
    3333    @TODO(cmatthew) this should be moved with the other sys calls. 
    3434    """ 
     35     
    3536    DEFAULT_PID = 1000 
    3637    result = struct_pack("<i", DEFAULT_PID) 
    37     return SuccessResponseBuilder("sys_getpid", len(result), result) 
     38    return SuccessResponseBuilder("sys_getpid", 0, result) 
    3839 
    3940