aft.c: Move definition of "buf" down a bit.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 7ff60b1dd6f934e2d7dc6bd95c14c2ab981b53df..05c2c21367e93f851cf4ac6d89deece65ac23d06 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -148,7 +148,7 @@ struct callback_result {
  * \param result Callback result will be stored here.
  *
  * This function creates a shared memory area, copies the buffer pointed to by
- * query to that area and notifies the afs process that \a f should be
+ * \a query to that area and notifies the afs process that \a f should be
  * called ASAP.
  *
  * \return Negative, on errors, the return value of the callback function
@@ -639,7 +639,8 @@ static int setup_command_socket_or_die(void)
                close(socket_fd);
                return ret;
        }
-       PARA_INFO_LOG("listening on socket %s (fd %d)\n", socket_name, ret);
+       PARA_INFO_LOG("listening on socket %s (fd %d)\n", socket_name,
+               socket_fd);
        return socket_fd;
 }