]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tutorials/PacketParrot/PacketParrotP.nc
Minor bug fix
[tinyos-2.x.git] / apps / tutorials / PacketParrot / PacketParrotP.nc
index 7281643fe9161c2293f4ec6497c46587d89304a2..730cfd6838a14786f88678243b3397734d916d17 100644 (file)
@@ -131,7 +131,7 @@ implementation {
       m_busy = TRUE;
       m_entry.len = len;
       m_entry.msg = *msg;
-      if (call LogWrite.append(&m_entry, sizeof(message_t)) != SUCCESS) {
+      if (call LogWrite.append(&m_entry, sizeof(logentry_t)) != SUCCESS) {
        m_busy = FALSE;
       }
     }