xbps_unregister_repository: return ENOENT if not found, not ENODEV.

--HG--
extra : convert_revision : c1be34bc1840ac351e8e2d301e2c71d247f0ea9c
This commit is contained in:
Juan RP 2009-02-13 00:18:28 +01:00
parent 5b841b8a7d
commit d420d00081
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ xbps_unregister_repository(const char *uri)
}
} else {
/* Not found. */
errno = ENODEV;
errno = ENOENT;
}
prop_object_release(dict);