Diaries is spelled correctly. This is because if the singular version ends in a 'y', to make it plural, drop the 'y' and add 'ies'.
Here's an example.
The singular form of puppy is puppy.
Now we will drop the 'y'. Now we have pupp.
Now add 'ies'. Now we have puppies.
Hope I helped!