Changes in uspace/app/logset/main.c [b7fd2a0:69c664e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/logset/main.c
rb7fd2a0 r69c664e 42 42 { 43 43 log_level_t result; 44 errno_t rc = log_level_from_str(log_level, &result);44 int rc = log_level_from_str(log_level, &result); 45 45 if (rc != EOK) { 46 46 fprintf(stderr, "Unrecognised log level '%s': %s.\n", … … 62 62 if (argc == 2) { 63 63 log_level_t new_default_level = parse_log_level_or_die(argv[1]); 64 errno_t rc = logctl_set_default_level(new_default_level);64 int rc = logctl_set_default_level(new_default_level); 65 65 66 66 if (rc != EOK) { … … 72 72 log_level_t new_level = parse_log_level_or_die(argv[2]); 73 73 const char *logname = argv[1]; 74 errno_t rc = logctl_set_log_level(logname, new_level);74 int rc = logctl_set_log_level(logname, new_level); 75 75 76 76 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.