[Debian-ha-commits] [ocfs2-tools] 10/58: mkfs.ocfs2: fix command line segfault
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Tue Jun 20 13:40:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch upstream
in repository ocfs2-tools.
commit a061ace7e663d9c462a4dac6a5a4478925db73c4
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date: Wed Jul 13 16:32:22 2016 +0200
mkfs.ocfs2: fix command line segfault
$ /sbin/mkfs.ocfs2 --journal
Segmentation fault
---
mkfs.ocfs2/mkfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkfs.ocfs2/mkfs.c b/mkfs.ocfs2/mkfs.c
index be5e421..c361fda 100644
--- a/mkfs.ocfs2/mkfs.c
+++ b/mkfs.ocfs2/mkfs.c
@@ -883,7 +883,7 @@ get_state(int argc, char **argv)
{ "verbose", 0, 0, 'v' },
{ "quiet", 0, 0, 'q' },
{ "version", 0, 0, 'V' },
- { "journal-options", 0, 0, 'J'},
+ { "journal-options", 1, 0, 'J'},
{ "heartbeat-device", 0, 0, 'H'},
{ "force", 0, 0, 'F'},
{ "mount", 1, 0, 'M'},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/ocfs2-tools.git
More information about the Debian-HA-Commits
mailing list