summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-result.c
diff options
context:
space:
mode:
authorPatrick Mansfield <patman@aracnet.com>2003-11-17 06:28:32 +0000
committerPatrick Mansfield <patman@aracnet.com>2003-11-17 06:28:32 +0000
commit5c60163efe1861b3f29684d7663c491671118f4a (patch)
treec05aef49cf7b40161179bed885ce127093f25357 /libgphoto2/gphoto2-result.c
parent47b02247826001e15987dcb12b7836208d95aca0 (diff)
downloadlibgphoto2-5c60163efe1861b3f29684d7663c491671118f4a.tar.gz
Return GP_ERROR_CAMERA_BUSY if a command or I/O is in progress.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6924 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-result.c')
-rw-r--r--libgphoto2/gphoto2-result.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-result.c b/libgphoto2/gphoto2-result.c
index 12297ced2..8af851d85 100644
--- a/libgphoto2/gphoto2-result.c
+++ b/libgphoto2/gphoto2-result.c
@@ -47,6 +47,7 @@ static struct {
{GP_ERROR_DIRECTORY_NOT_FOUND, N_("Directory not found")},
{GP_ERROR_FILE_NOT_FOUND, N_("File not found")},
{GP_ERROR_DIRECTORY_EXISTS, N_("Directory exists")},
+ {GP_ERROR_CAMERA_BUSY, N_("I/O in progress")},
{GP_ERROR_PATH_NOT_ABSOLUTE, N_("Path not absolute")},
{GP_ERROR_CANCEL, N_("Operation cancelled")},
{0, NULL}