Skip to content

Commit

Permalink
gpu-manager.c: pass arguments in the correct order to get the alterna…
Browse files Browse the repository at this point in the history
…tives

Thanks to Rafał Cieślak for the fix.

Fixes LP: #1575960
  • Loading branch information
Alberto Milone committed Apr 29, 2016
1 parent c641e18 commit da66a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/hybrid/gpu-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ static char* get_alternative_link(const char *alternative_pattern, const char *f
else {
snprintf(command, sizeof(command),
"update-alternatives --list %s_%s_conf",
alternative_pattern, arch_path);
arch_path, alternative_pattern);

/* Make sure we don't catch prime by mistake when
* looking for nvidia
Expand Down

0 comments on commit da66a46

Please sign in to comment.