summaryrefslogtreecommitdiffstats
path: root/pcitool/sysinfo.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 05:45:35 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-12 05:45:35 +0100
commit2e4e8a00b27182a155cb10f0a00e44977bfcd5cf (patch)
tree86afd1b7ceb834dbb3cedf8d55c3ac0734947333 /pcitool/sysinfo.c
parent7a4cfb9e546c496792d3fe0c61c822c66ad0128f (diff)
downloadipecamera-2e4e8a00b27182a155cb10f0a00e44977bfcd5cf.tar.gz
ipecamera-2e4e8a00b27182a155cb10f0a00e44977bfcd5cf.tar.bz2
ipecamera-2e4e8a00b27182a155cb10f0a00e44977bfcd5cf.tar.xz
ipecamera-2e4e8a00b27182a155cb10f0a00e44977bfcd5cf.zip
multithread preprocessing of ipecamera frames and code reorganization
Diffstat (limited to 'pcitool/sysinfo.c')
-rw-r--r--pcitool/sysinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcitool/sysinfo.c b/pcitool/sysinfo.c
index 7b25972..d6f57fe 100644
--- a/pcitool/sysinfo.c
+++ b/pcitool/sysinfo.c
@@ -104,7 +104,7 @@ int get_file_fs(const char *fname, size_t size, char *fs) {
if ((!fname)||(!fs)||(size < 3)) return -1;
- if (*fn == '/') {
+ if (*fname == '/') {
fn = (char*)fname;
} else {
if (!getcwd(buf, 4095)) return -1;