Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e30fb2
)
uuidd: Add missing break to option case statement
author
Eric Sandeen
<sandeen@redhat.com>
Fri, 16 Sep 2011 20:49:24 +0000
(15:49 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 16 Sep 2011 22:43:05 +0000
(18:43 -0400)
Specifying the "-n" option to uuidd would incorrectly
fall through to the "-p" case, and assign that number to
the pidfile_path.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/uuidd.c
patch
|
blob
|
history
diff --git
a/misc/uuidd.c
b/misc/uuidd.c
index
89bff72
..
912773a
100644
(file)
--- a/
misc/uuidd.c
+++ b/
misc/uuidd.c
@@
-472,6
+472,7
@@
int main(int argc, char **argv)
fprintf(stderr, _("Bad number: %s\n"), optarg);
exit(1);
}
+ break;
case 'p':
pidfile_path = optarg;
drop_privs = 1;