Defendant was charged by information in count I with assault with intent to commit murder, a violation of Penal Code section 217, and in count II, with assault with a deadly weapon, a violation of Penal Code section 245. *383 Defendant pleaded not guilty and waived jury trial. Defendant was found guilty of assault by means of force likely to produce great bodily injury, “a necessarily included offense in count II,” and not guilty of the offense charged in count I. Defendant’s motion for a new trial and probation were denied. Defendant was sentenced to state prison for the term prescribed by law.
The facts reveal that on March 20, 1967, defendant and the victim Cooper were at a party at one Snowden’s house. Cooper began insulting defendant and defendant’s girl friend. Cooper testified that defendant hit him across the side of the face with a machete. Due to the blow to his head, Cooper had to have 13 stitches. Defendant denied hitting Cooper with a machete, and testified that he hit Cooper twice with his fist.
Defendant’s first contention is that he was denied due process of law because of the intentional use by the prosecution of perjured testimony. At the preliminary hearing, Snowden testified that he saw defendant with the machete. At trial, he testified that he had not seen defendant with the machete and that the reason he previously gave contradictory testimony was because his brother, a police officer, promised him that if he would testify against defendant, he would either be released on his own recognizance, or he would be loaned money for bail in a case in which Snowden was a criminal defendant. Officer • Snowden testified that he told his brother only to state what he had seen.
It is difficult to perceive any prejudice to defendant since the testimony of the witness Snowden at trial was favorable to defendant. Furthermore, there is no showing that the prosecution procured such perjury, or even which testimony of the witness was perjured. In any event, it is the function of the trial court, not the appellate court, to resolve inconsistencies and contradictions in the testimony of a witness, and the trier of fact may believe and accept a portion of the testimony of a witness and disbelieve the remainder.
(People
v.
Rankin,
Defendant contends that the evidence is insufficient to support the judgment, and that his acts were justified because
*384
of the conduct of the victim. However, the testimony of the victim of an assault, if believed by the court, is sufficient without corroboration to sustain a conviction.
(People
v.
Sanders,
Only one other matter need be considered on this appeal. Defendant was charged in the information in count I with assault with intent to commit murder (Pen. Code, § 217) and in count II with assault with a deadly weapon (Pen. Code, § 245). Defendant was found guilty of assault by means of force likely to produce great bodily injury. At the conclusion of the trial, the following colloquy took place between the trial judge and counsel:
“The Court: The Court finds the defendant guilty of violation of Section 245, assault by means of force likely to produce great bodily injury, an offense necessarily included *385 in that charged in the Information. I believe it is included. Wouldn’t you say so ?
“Mb. Obb [Deputy District Attorney] : It is, your Honor. That is in Count II.
“The Court: Well, I am not finding Mm guilty of Count II, assault with a deadly weapon. This is included. It will be included in Count II, I take it?
“Mr. Orb: That’s correct.
“Mb. Reynolds [Deputy Public Defender]: I take it your Honor is finding the defendant not guilty of Count I.
“The Court: Not guilty of Count I and Counts [sic] II, but guilty of a necessarily included offense in Count II, an assault by means of force like [sic] to produce great bodily injury.”
The minute order entered at the conclusion of this discussion reflects that defendant was found guilty of assault by means of force likely to produce great bodily injury as “a lesser but necessarily included offense in Count 2.” (Italics added.)
A similar problem arose in
People
v.
Baca,
The crucial questions are whether an aggravated assault took place and whether the defendant was apprised of the facts giving rise to the offense for which he was convicted. The purpose of an indictment or mformation is to inform the accused of the charge which he must meet at trial.
(People
v.
Beesly,
At the time of sentencing, the trial judge reiterated that he had found defendant guilty of assault by means of force likely to produce great bodily injury, but the judgment committing defendant to state prison recites that defendant had been found guilty of assault with a deadly weapon “as charged in count 2 of the information(Italics added.) The recitation in the judgment which is at variance with the judge’s declarations is obviously clerical error, and is hereby ordered modified to conform with the judgment announced in open court by the trial judge.
As so modified, defendant’s conviction is affirmed.
Kaus, P. J., and Aiso, J., concurred.
Notes
The finding of the trial court reduced the severity of the punishment under section 245, subdivision (a) of the Penal Code, for such finding may affect the defendant’s right to probation or the term of imprisonment which the Adult Authority may impose. (See
People
v.
Wynn,
