diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 13:53:31 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 18:05:00 +0100 |
commit | a8d51bf0ce26fd26e00338540857f43b8a99e126 (patch) | |
tree | 917f249fbf6873280161959c74a71b8edb0f4cea /proc | |
parent | e2b75a67395fbbdd36bb0bceaea2465a2a1fa172 (diff) | |
download | hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.gz hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.bz2 hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.zip |
Fix build warnings
No actual behavior change.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/host.c | 6 | ||||
-rw-r--r-- | proc/info.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/proc/host.c b/proc/host.c index 7d76f7cb..9934837f 100644 --- a/proc/host.c +++ b/proc/host.c @@ -409,9 +409,9 @@ S_proc_uname (pstruct_t process, kern_return_t S_proc_register_version (pstruct_t server, mach_port_t credential, - char *name, - char *release, - char *version) + string_t name, + string_t release, + string_t version) { error_t err = 0; int i; diff --git a/proc/info.c b/proc/info.c index 6c2567d2..435c718f 100644 --- a/proc/info.c +++ b/proc/info.c @@ -954,7 +954,7 @@ S_proc_getloginpids (struct proc *callerp, /* Implement proc_setlogin as described in <hurd/process.defs>. */ kern_return_t S_proc_setlogin (struct proc *p, - char *login) + string_t login) { struct login *l; @@ -979,7 +979,7 @@ S_proc_setlogin (struct proc *p, /* Implement proc_getlogin as described in <hurd/process.defs>. */ kern_return_t S_proc_getlogin (struct proc *p, - char *login) + string_t login) { if (!p) return EOPNOTSUPP; @@ -1030,7 +1030,7 @@ S_proc_getnports (struct proc *callerp, /* Implement proc_set_path as described in <hurd/process.defs>. */ kern_return_t S_proc_set_exe (struct proc *p, - char *path) + string_t path) { char *copy; @@ -1050,7 +1050,7 @@ S_proc_set_exe (struct proc *p, kern_return_t S_proc_get_exe (struct proc *callerp, pid_t pid, - char *path) + string_t path) { struct proc *p = pid_find (pid); |