summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2009-03-01 23:50:11 +0100
committerTobias Grimm <tobias@e-tobi.loc>2009-03-01 23:50:11 +0100
commit41f3a108fd60f083b4c1b64dd249c606b55e2720 (patch)
tree46ea648abeda3bd3ce901012410f3dd4c208cca7 /svdrp.c
parent1072f8978350e57f7aa35aaa79081e5031a12901 (diff)
downloadxeatre-vdr-patches-patches/xeatre/1.6/extend-maxvideofilesize.tar.gz
xeatre-vdr-patches-patches/xeatre/1.6/extend-maxvideofilesize.tar.bz2
initial commit of the extend-maxvideofilesize patchpatches/xeatre/1.6/extend-maxvideofilesize
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index 6232915..1281971 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -1476,9 +1476,9 @@ void cSVDRP::CmdSTAT(const char *Option)
{
if (*Option) {
if (strcasecmp(Option, "DISK") == 0) {
- int FreeMB, UsedMB;
+ int64_t FreeMB, UsedMB;
int Percent = VideoDiskSpace(&FreeMB, &UsedMB);
- Reply(250, "%dMB %dMB %d%%", FreeMB + UsedMB, FreeMB, Percent);
+ Reply(250, "%lldMB %lldMB %d%%", FreeMB + UsedMB, FreeMB, Percent);
}
else
Reply(501, "Invalid Option \"%s\"", Option);