Commit 6a25e88
committed
Fix bug for missing files in /proc/driver/nvidia
If one of the files (params, version, registry) in /proc/driver/nvidia
is missing the path for the next file is concatenated on the previous one.
This change ensures that the string storing the path is reset if one of
the files is not found.
Signed-off-by: Evan Lezar <[email protected]>1 parent fc1b6c4 commit 6a25e88
File tree
3 files changed
+10
-2
lines changed- pkg
- deb
- rpm/SPECS
- src
3 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
355 | 360 | | |
| 361 | + | |
356 | 362 | | |
357 | 363 | | |
358 | 364 | | |
| |||
0 commit comments