Changeset 132ab5d1 in mainline for uspace/lib/c/generic/sysinfo.c
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/c/generic/sysinfo.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/sysinfo.c
r8bfb163 r132ab5d1 37 37 #include <str.h> 38 38 #include <errno.h> 39 #include < malloc.h>39 #include <stdlib.h> 40 40 #include <stdbool.h> 41 41 #include <stddef.h> … … 92 92 /* Get the data */ 93 93 size_t sz; 94 ret = __SYSCALL5(SYS_SYSINFO_GET_KEYS, (sysarg_t) path,94 ret = (int) __SYSCALL5(SYS_SYSINFO_GET_KEYS, (sysarg_t) path, 95 95 (sysarg_t) str_size(path), (sysarg_t) data, (sysarg_t) *size, 96 96 (sysarg_t) &sz); … … 186 186 /* Get the data */ 187 187 size_t sz; 188 ret = __SYSCALL5(SYS_SYSINFO_GET_DATA, (sysarg_t) path,188 ret = (int) __SYSCALL5(SYS_SYSINFO_GET_DATA, (sysarg_t) path, 189 189 (sysarg_t) str_size(path), (sysarg_t) data, (sysarg_t) *size, 190 190 (sysarg_t) &sz);
Note:
See TracChangeset
for help on using the changeset viewer.
