summaryrefslogtreecommitdiffstats
path: root/sys-utils/unshare.c
diff options
context:
space:
mode:
authorKarel Zak2014-04-18 13:12:13 +0200
committerKarel Zak2014-04-18 13:12:13 +0200
commita9a4af90306c64e6b30f32189b7c719025fb797f (patch)
treec58453dc2bb03a939928d4442864f7629a928def /sys-utils/unshare.c
parentfallocate: add FALLOC_FL_ZERO_RANGE support (diff)
downloadkernel-qcow2-util-linux-a9a4af90306c64e6b30f32189b7c719025fb797f.tar.gz
kernel-qcow2-util-linux-a9a4af90306c64e6b30f32189b7c719025fb797f.tar.xz
kernel-qcow2-util-linux-a9a4af90306c64e6b30f32189b7c719025fb797f.zip
unshare: add + to getopt_long()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/unshare.c')
-rw-r--r--sys-utils/unshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c
index 1240293c0..95e4afbd0 100644
--- a/sys-utils/unshare.c
+++ b/sys-utils/unshare.c
@@ -113,7 +113,7 @@ int main(int argc, char *argv[])
textdomain(PACKAGE);
atexit(close_stdout);
- while ((c = getopt_long(argc, argv, "fhVmuinpUr", longopts, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "+fhVmuinpUr", longopts, NULL)) != -1) {
switch (c) {
case 'f':
forkit = 1;