tzplatform_get: fix to support numeric user id 09/70709/2 accepted/tizen/common/20160526.145939 accepted/tizen/ivi/20160526.094720 accepted/tizen/mobile/20160526.095059 accepted/tizen/tv/20160526.094742 accepted/tizen/wearable/20160526.094908 submit/tizen/20160525.060345
authorsunm.lee <sunm.lee@samsung.com>
Fri, 20 May 2016 07:20:46 +0000 (16:20 +0900)
committersunm.lee <sunm.lee@samsung.com>
Tue, 24 May 2016 23:29:05 +0000 (08:29 +0900)
commite866508e4b35f0fc3b16eb2107dbb3dba42ac23e
tree7ff25425b0ad4aa669073cbddbbf6b67ff4e35b6
parent5373002b43a599a47d6330e1d46faf10a33c8c3f
tzplatform_get: fix to support numeric user id

At implementation of "user" option, the function getpwuid_r()
is used for numeric user id but the variable user is char *
orginally. So to support numeric user id, it should be changed
to integer.

Change-Id: I42d6419075d8ff9f2af0e46a2d6953172b8bf980
Signed-off-by: sunm.lee <sunm.lee@samsung.com>
src/tzplatform_get.c