summaryrefslogtreecommitdiff
path: root/trans/new-fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/new-fifo.c')
-rw-r--r--trans/new-fifo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/trans/new-fifo.c b/trans/new-fifo.c
index b1bc731d..150121f6 100644
--- a/trans/new-fifo.c
+++ b/trans/new-fifo.c
@@ -160,7 +160,8 @@ fifo_trans_parse_args (struct fifo_trans *trans, int argc, char **argv,
case 's': trans->server = 1; break;
case 'U': trans->use_server = arg; break;
case 'S': trans->use_server = 0; break;
- default: return EINVAL;
+ default:
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}