Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4263
Line 36... Line 36...
36
#include <sysinfo.h>
36
#include <sysinfo.h>
37
#include <string.h>
37
#include <string.h>
38
 
38
 
39
sysarg_t sysinfo_value(char *name)
39
sysarg_t sysinfo_value(char *name)
40
{
40
{
41
    return __SYSCALL2(SYS_SYSINFO_VALUE, (sysarg_t ) name, (sysarg_t) strlen(name));
41
    return __SYSCALL2(SYS_SYSINFO_VALUE, (sysarg_t ) name,
-
 
42
        (sysarg_t) str_size(name));
42
}
43
}
43
 
44
 
44
/** @}
45
/** @}
45
 */
46
 */