summaryrefslogtreecommitdiff
path: root/command/marks.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-05-25 15:10:21 +0200
committerJochen Dolze <vdr@dolze.de>2010-05-25 15:10:21 +0200
commitb7c606a20063d600708e82ee9ad65d128dab77aa (patch)
treef4ff2c69db787048872131120290a35d42773b68 /command/marks.cpp
parent6ac4484e8b861dd781d6d5b573b315d54fa7b322 (diff)
downloadvdr-plugin-markad-b7c606a20063d600708e82ee9ad65d128dab77aa.tar.gz
vdr-plugin-markad-b7c606a20063d600708e82ee9ad65d128dab77aa.tar.bz2
Fixed some compiler warnings
Diffstat (limited to 'command/marks.cpp')
-rw-r--r--command/marks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/command/marks.cpp b/command/marks.cpp
index 6935175..67358fc 100644
--- a/command/marks.cpp
+++ b/command/marks.cpp
@@ -392,7 +392,7 @@ bool clMarks::Save(const char *Directory, double FrameRate, bool isTS)
struct stat statbuf;
if (!stat(spath,&statbuf))
{
- chown(fpath,statbuf.st_uid, statbuf.st_gid);
+ if (chown(fpath,statbuf.st_uid, statbuf.st_gid)) {};
}
free(spath);
}