diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:47:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-30 08:47:50 +0000 |
commit | e86fd65c81be319c8f4848d42053084ceab9afc8 (patch) | |
tree | e31337fe239384bab16b7b889b90075fa3f8b5b9 /src/stats.c | |
parent | a0c8e3656ba1c7c796f47f7d020f448961b1b3c5 (diff) | |
download | mpd-e86fd65c81be319c8f4848d42053084ceab9afc8.tar.gz mpd-e86fd65c81be319c8f4848d42053084ceab9afc8.tar.xz mpd-e86fd65c81be319c8f4848d42053084ceab9afc8.zip |
commandError() cleanups, fixup gcc checks
stripped binary size reduced by 9k on my machine from making
commandError a function. We'll print out error messages slightly
slower before, but the smaller binary is more than worth it.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4488 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c index 32a7804c1..d4b69953b 100644 --- a/src/stats.c +++ b/src/stats.c @@ -36,8 +36,8 @@ void initStats(void) int printStats(int fd) { - fdprintf(fd, "artists: %li\n", getNumberOfTagItems(TAG_ITEM_ARTIST)); - fdprintf(fd, "albums: %li\n", getNumberOfTagItems(TAG_ITEM_ALBUM)); + fdprintf(fd, "artists: %i\n", getNumberOfTagItems(TAG_ITEM_ARTIST)); + fdprintf(fd, "albums: %i\n", getNumberOfTagItems(TAG_ITEM_ALBUM)); fdprintf(fd, "songs: %i\n", stats.numberOfSongs); fdprintf(fd, "uptime: %li\n", time(NULL) - stats.daemonStart); fdprintf(fd, "playtime: %li\n", |