projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586377f
)
shutdown: fix incorrect fscanf() result check (#6806)
author
Lennart Poettering
<lennart@poettering.net>
Wed, 13 Sep 2017 08:08:37 +0000
(10:08 +0200)
committer
GitHub
<noreply@github.com>
Wed, 13 Sep 2017 08:08:37 +0000
(10:08 +0200)
A correction for
090e3c9796ef6468d4f396610804d62f6ffd797f
.
Fixes: #6796
src/core/umount.c
patch
|
blob
|
history
diff --git
a/src/core/umount.c
b/src/core/umount.c
index
b83f631
..
75f9779
100644
(file)
--- a/
src/core/umount.c
+++ b/
src/core/umount.c
@@
-97,7
+97,7
@@
static int mount_points_list_get(MountPoint **head) {
"%ms" /* (11) mount options */
"%*[^\n]", /* some rubbish at the end */
&path, &type, &options);
- if (k !=
2
) {
+ if (k !=
3
) {
if (k == EOF)
break;