]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Bug fixed in the function fosa_thread_get_specific_data()
authorPetr Benes <benesp16@fel.cvut.cz>
Thu, 27 Jan 2011 10:13:34 +0000 (11:13 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 27 Jan 2011 12:18:23 +0000 (13:18 +0100)
src_aquosa/fosa_threads_and_signals.c

index 7c836c76108947cbd03d00f182bd506ae0e9b33e..0c5fdf9c924a4ea29679ea3d716c57f566848976 100644 (file)
@@ -399,7 +399,7 @@ int fosa_thread_get_specific_data(int key,
        if (!__fosa_check_thread(&tid))
                return EINVAL;
 
-       value = pthread_getspecific(key_list[key]);
+       *value = pthread_getspecific(key_list[key]);
 
        return !value ? FOSA_EINVAL : 0;
 }