Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bsdutils
bsdisks
Commits
9f20a9d906ec
Commit
30fee64a
authored
Oct 26, 2020
by
Gleb Popov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now that NULL byte is appended, fix the comparison in filesystemAdded().
parent
5776d55fcaf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
objectmanager.cpp
objectmanager.cpp
+1
-1
No files found.
objectmanager.cpp
View file @
9f20a9d9
...
...
@@ -77,7 +77,7 @@ void ObjectManager::filesystemAdded(Block* b, QString fs, const ZFSInfo* zfsInfo
{
if
(
storage
.
isValid
()
&&
storage
.
isReady
())
{
if
(
!
storage
.
device
().
compare
(
b
->
device
()))
if
(
!
storage
.
device
().
compare
(
b
->
device
()
.
chopped
(
1
)
))
{
bfs
->
mountPoints
<<
storage
.
rootPath
().
toLocal8Bit
();
break
;
...
...
Gleb Popov
@arrowd
mentioned in issue
#12 (closed)
·
Mar 14, 2021
mentioned in issue
#12 (closed)
mentioned in issue #12
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment