
Heat olive oil in a small heavy bottomed pot.
Saute the onions for 5 minutes or until translucent. Add the garlic and cook another minute.
Add the pinto beans and salt to the onions and mash with a potato masher or fork.
Add water, stir and cook until heat through.
Serve.