If the partition was reformatted, I guess it's UUID changed. Do:
$ ls -lF /dev/disk/by-uuid/ and find the new UUID, then replace the old one with it in your /etc/fstab.Or you could replace "UUID=..." in your /etc/fstab with "LABEL=swap", if "swap" is the label.
