diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-03-12 09:27:51 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2006-03-12 09:27:51 +0000 |
commit | 2d97ef7a3c5d1ec5e1468aad2e841308c0ca18d3 (patch) | |
tree | 8b192705d52918bf88bb078e2feabbea74c58dd1 /sbin | |
parent | 8db357205c2e3ac4e74399ec980ae44a9e9a88b8 (diff) |
Notes
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ggate/ggatec/ggatec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ggate/ggatec/ggatec.c b/sbin/ggate/ggatec/ggatec.c index 70f667dfbfe03..e421614dc6a34 100644 --- a/sbin/ggate/ggatec/ggatec.c +++ b/sbin/ggate/ggatec/ggatec.c @@ -457,8 +457,10 @@ g_gatec_create(void) snprintf(ggioc.gctl_info, sizeof(ggioc.gctl_info), "%s:%u %s", host, port, path); g_gate_ioctl(G_GATE_CMD_CREATE, &ggioc); - if (unit == -1) + if (unit == -1) { printf("%s%u\n", G_GATE_PROVIDER_NAME, ggioc.gctl_unit); + fflush(stdout); + } unit = ggioc.gctl_unit; mydaemon(); |