ssize_t n;
int ret;
const char *const passwd = "/bin/passwd";
- const struct timespec req = {0, 100 * 1000 * 1000};
+ const struct timespec ts = {0, 100 * 1000 * 1000};
blobmsg_parse(rpc_password_policy, __RPC_P_MAX, tb,
blob_data(msg), blob_len(msg));
if (n < 0)
return rpc_errno_status();
- nanosleep(&req, NULL);
+ nanosleep(&ts, NULL);
n = write(fds[1], blobmsg_data(tb[RPC_P_PASSWORD]),
blobmsg_data_len(tb[RPC_P_PASSWORD]) - 1);