projects
/
platform
/
core
/
system
/
tota-ua.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22112e2
)
blkid-api: Fix incorrect pointer check
28/272228/1
submit/tizen/20220311.101315
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Fri, 11 Mar 2022 10:19:19 +0000
(11:19 +0100)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Fri, 11 Mar 2022 10:19:19 +0000
(11:19 +0100)
Change-Id: Iec1d8620e3e6e47d7be75bd82e96153457f6a5a4
src/blkid-api.c
patch
|
blob
|
history
diff --git
a/src/blkid-api.c
b/src/blkid-api.c
index
765b0fc
..
9c2ddae
100644
(file)
--- a/
src/blkid-api.c
+++ b/
src/blkid-api.c
@@
-25,7
+25,7
@@
blkid_partlist get_part_list(char *device_name, blkid_probe *pr) {
assert(pr);
*pr = blkid_new_probe_from_filename(device_name);
- if (pr == NULL)
+ if (
*
pr == NULL)
return NULL;
blkid_partlist ls = blkid_probe_get_partitions(*pr);
return ls;