Changeset a62ceaf in mainline for uspace/app/nterm/nterm.c
- Timestamp:
- 2016-02-29T19:19:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 129b92c6
- Parents:
- 5147ff1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/nterm.c
r5147ff1 ra62ceaf 104 104 static void print_syntax(void) 105 105 { 106 printf("syntax: nterm <host> 106 printf("syntax: nterm <host>:<port>\n"); 107 107 } 108 108 … … 112 112 int rc; 113 113 114 if (argc != 3) {114 if (argc != 2) { 115 115 print_syntax(); 116 116 return 1; 117 117 } 118 118 119 rc = conn_open(argv[1] , argv[2]);119 rc = conn_open(argv[1]); 120 120 if (rc != EOK) { 121 121 printf("Error connecting.\n");
Note:
See TracChangeset
for help on using the changeset viewer.