Skip to content

Commit

Permalink
adapted to new libniftyled API
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylight committed Apr 18, 2014
1 parent 8bfa1ef commit 66fb1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ledcap.c
Expand Up @@ -346,7 +346,7 @@ int main(int argc, char *argv[])

/* parse prefs-file */
LedPrefsNode *pnode;
if(!(pnode = led_prefs_node_from_file(_c.prefsfile)))
if(!(pnode = led_prefs_node_from_file(prefs, _c.prefsfile)))
{
NFT_LOG(L_ERROR, "Failed to open configfile \"%s\"",
_c.prefsfile);
Expand Down

0 comments on commit 66fb1ef

Please sign in to comment.