What is the origin for "squawk" having two different meanings in aviation? In Aviation, a "Squawk code" is a common term for a "Transponder Code".
"Squawk 2345 and Ident" 

But it is also commonly a way to report problems with an airplane.
"After I landed, I Squawk'd the broken ADF, and marked it INOP" 

Do these two terms share a common history?  Is it purely coincidence that the same term is used for such different meanings?
According to Wikipedia (which has cited sources), the transponder usage comes from...


  The use of the word "squawk" comes from the system's origin in the
  World War II identification, friend or foe (IFF) system, which was
  code-named "Parrot".


As for the maintenance reference, one of the accepted definitions is


  To inform


or 


  To report an infraction


It may just be coincidence that they are used as they are.