diff options
author | Roy Marples <roy@marples.name> | 2007-09-26 07:30:00 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-26 07:30:00 +0000 |
commit | e24d808fc50cba4f6da3ead3936e7960f38f60a3 (patch) | |
tree | e99877e8583a7520e31451ba97aa1cba22a9f3c1 /src/fstabinfo.c | |
parent | 8a7b58a73d0ef5a9a7f583bf73b1dc917f2a29de (diff) |
Handle fstab with spaces
Diffstat (limited to 'src/fstabinfo.c')
-rw-r--r-- | src/fstabinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstabinfo.c b/src/fstabinfo.c index 85640ccf..db8d9623 100644 --- a/src/fstabinfo.c +++ b/src/fstabinfo.c @@ -186,8 +186,8 @@ int fstabinfo (int argc, char **argv) switch (output) { case OUTPUT_MOUNTCMD: - printf ("-o %s -t %s %s %s\n", ENT_OPTS (ent), ENT_TYPE (ent), - ENT_DEVICE (ent), ENT_FILE (ent)); + printf ("-o %s -t %s '%s' '%s'\n", ENT_OPTS (ent), + ENT_TYPE (ent), ENT_DEVICE (ent), ENT_FILE (ent)); break; case OUTPUT_OPTIONS: |