commit | 3a3b71c7d8b4d6ca2d6703008bd77b507271c0b9 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Wed May 28 16:38:44 2014 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed May 28 18:09:46 2014 +0000 |
tree | b1fe6745ad75c82eaf81dea7c16461c8109faa45 | |
parent | 3b09ebe724b1ee233ce2314a8b70a4dfdf9d2b07 [diff] |
Use printstr for sethostname, setdomainname, and gethostname decoding The argument passed to sethostname and setdomainname syscalls, as well as the string returned by gethostname syscall, is not a pathname, so printpathn is not the right method for its decoding. * process.c (sys_sethostname, sys_setdomainname): Decode 1st argument using printstr instead of printpathn. [ALPHA] (sys_gethostname): Likewise.