Mercurial > audlegacy-plugins
changeset 2025:addefacf1873
Fixed a bad argument order in a snprintf()
author | Calin Crisan ccrisan@gmail.com |
---|---|
date | Fri, 12 Oct 2007 00:17:42 +0300 |
parents | 361ee83691e9 |
children | 0d557822c971 |
files | src/cdaudio-ng/cdaudio-ng.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cdaudio-ng/cdaudio-ng.c Thu Oct 11 15:43:25 2007 -0500 +++ b/src/cdaudio-ng/cdaudio-ng.c Fri Oct 12 00:17:42 2007 +0300 @@ -450,7 +450,7 @@ } if (strlen(trackinfo[trackno].name) == 0) - snprintf(trackinfo[trackno].name, trackno, "CD Audio Track %02u", sizeof(trackinfo[trackno].name)); + snprintf(trackinfo[trackno].name, sizeof(trackinfo[trackno].name), "CD Audio Track %02u", trackno); }