aboutsummaryrefslogtreecommitdiffstats
path: root/man2/msgop.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/msgop.2')
-rw-r--r--man2/msgop.212
1 files changed, 6 insertions, 6 deletions
diff --git a/man2/msgop.2 b/man2/msgop.2
index b9b0321c42..c529a5b36a 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -591,8 +591,8 @@ usage(char *prog_name, char *msg)
static void
send_msg(int qid, int msgtype)
{
- struct msgbuf msg;
- time_t t;
+ time_t t;
+ struct msgbuf msg;
msg.mtype = msgtype;
@@ -629,10 +629,10 @@ get_msg(int qid, int msgtype)
int
main(int argc, char *argv[])
{
- int qid, opt;
- int mode = 0; /* 1 = send, 2 = receive */
- int msgtype = 1;
- int msgkey = 1234;
+ int qid, opt;
+ int mode = 0; /* 1 = send, 2 = receive */
+ int msgtype = 1;
+ int msgkey = 1234;
while ((opt = getopt(argc, argv, "srt:k:")) != \-1) {
switch (opt) {