summaryrefslogtreecommitdiff
path: root/examples/detect.c
diff options
context:
space:
mode:
authortedbullock <tedbullock>2007-02-23 22:39:12 +0000
committertedbullock <tedbullock>2007-02-23 22:39:12 +0000
commit433d217097f8d7cfe9ab50aff5f4eb5bf6aceac0 (patch)
tree26c758b318411c27783a1949d7394db5d93ba6b6 /examples/detect.c
parent039d1dd98395ee0822745ab445c2cdd8b52c4a92 (diff)
downloadlibmtp-433d217097f8d7cfe9ab50aff5f4eb5bf6aceac0.tar.gz
Replaced LIBMTP_ERROR_N0_DEVICE_ATTACHED with LIBMTP_ERROR_NO_DEVICE_ATTACHED (zero with Oh)
Diffstat (limited to 'examples/detect.c')
-rw-r--r--examples/detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/detect.c b/examples/detect.c
index 243ea58..f7d44d7 100644
--- a/examples/detect.c
+++ b/examples/detect.c
@@ -96,7 +96,7 @@ int main (int argc, char **argv)
switch(LIBMTP_Get_Connected_Devices(&device))
{
- case LIBMTP_ERROR_N0_DEVICE_ATTACHED:
+ case LIBMTP_ERROR_NO_DEVICE_ATTACHED:
fprintf(stdout, "Detect: No Devices have been found\n");
return 0;
case LIBMTP_ERROR_CONNECTING: