Update perror and strerr