Changeset 593e023 in mainline for uspace/srv/hid/remcons/remcons.c
- Timestamp:
- 2014-08-12T17:14:32Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c3bdc92
- Parents:
- ce3efa0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/remcons.c
rce3efa0 r593e023 226 226 telnet_user_t *user = arg; 227 227 228 char term[LOC_NAME_MAXLEN];229 snprintf(term, LOC_NAME_MAXLEN, "%s/%s", "/loc", user->service_name);230 231 228 task_id_t task; 232 int rc = task_spawnl(&task, APP_GETTERM, APP_GETTERM, "-w", term, APP_SHELL, NULL); 233 if (rc != EOK) { 234 telnet_user_error(user, "Spawning `%s -w %s %s' failed: %s.", 235 APP_GETTERM, term, APP_SHELL, str_error(rc)); 229 int rc = task_spawnl(&task, APP_GETTERM, APP_GETTERM, user->service_name, 230 "/loc", "--msg", "--", APP_SHELL, NULL); 231 if (rc != EOK) { 232 telnet_user_error(user, "Spawning `%s %s /loc --msg -- %s' " 233 "failed: %s.", APP_GETTERM, user->service_name, APP_SHELL, 234 str_error(rc)); 236 235 fibril_mutex_lock(&user->guard); 237 236 user->task_finished = true;
Note:
See TracChangeset
for help on using the changeset viewer.