summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/list.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-06-28 10:38:38 +0000
committerglebius <glebius@FreeBSD.org>2006-06-28 10:38:38 +0000
commit0552c3f9acdfb38181f72d97f12dc4ed2b17d064 (patch)
tree16ce781a472dce81e91d090c2bbbc51ec55cb152 /usr.sbin/ngctl/list.c
parent240b34fd73491227636f7a58fc8c74ee2480efcf (diff)
downloadFreeBSD-src-0552c3f9acdfb38181f72d97f12dc4ed2b17d064.zip
FreeBSD-src-0552c3f9acdfb38181f72d97f12dc4ed2b17d064.tar.gz
Style: space after "return".
Diffstat (limited to 'usr.sbin/ngctl/list.c')
-rw-r--r--usr.sbin/ngctl/list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ngctl/list.c b/usr.sbin/ngctl/list.c
index 7f12434..966a8a5 100644
--- a/usr.sbin/ngctl/list.c
+++ b/usr.sbin/ngctl/list.c
@@ -83,7 +83,7 @@ ListCmd(int ac, char **av)
break;
case '?':
default:
- return(CMDRTN_USAGE);
+ return (CMDRTN_USAGE);
break;
}
}
@@ -95,18 +95,18 @@ ListCmd(int ac, char **av)
case 0:
break;
default:
- return(CMDRTN_USAGE);
+ return (CMDRTN_USAGE);
}
/* Get list of nodes */
if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE,
named_only ? NGM_LISTNAMES : NGM_LISTNODES, NULL, 0) < 0) {
warn("send msg");
- return(CMDRTN_ERROR);
+ return (CMDRTN_ERROR);
}
if (NgAllocRecvMsg(csock, &resp, NULL) < 0) {
warn("recv msg");
- return(CMDRTN_ERROR);
+ return (CMDRTN_ERROR);
}
/* Show each node */
OpenPOWER on IntegriCloud