rem: rc = sys_setcwd(argv[1]); if (rc < 0) { printf("cd: sys_setcwd() returned error: %s!\n", strerror(rc)); }
add: rc = chdir(argv[1]); if (rc < 0) printf("cd: sys_setcwd() returned error: %s!\n", strerror(errno));
context: int cmd_cd(int argc, char *argv[]){	int rc;	if(argc < 2) {		printf("not enough arguments to cd\n");		return 0;	}	rc = sys_setcwd(argv[1]);	if (rc < 0) {		printf("cd: sys_setcwd() returned error: %s!\n", strerror(rc));	}	return 0;}