summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorScott Fritzinger <scottf@unr.edu>2001-01-22 21:25:25 +0000
committerScott Fritzinger <scottf@unr.edu>2001-01-22 21:25:25 +0000
commitded91bec92ced56e693894c554dddb79f02dea26 (patch)
treebbe83f849cfada47cd74c1f6c387efd9faad5d98 /frontends
parent3dd042f1501e97af442c34310b50423b11e01312 (diff)
downloadlibgphoto2-ded91bec92ced56e693894c554dddb79f02dea26.tar.gz
finished GP_PORT renaming
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1527 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'frontends')
-rw-r--r--frontends/command-line/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/command-line/main.c b/frontends/command-line/main.c
index 5b014f601..852abb867 100644
--- a/frontends/command-line/main.c
+++ b/frontends/command-line/main.c
@@ -296,7 +296,7 @@ OPTION_CALLBACK(list_ports) {
gp_port_info info;
int x, count;
- if ((count = gp_port_get_count()) < 0) {
+ if ((count = gp_port_count_get()) < 0) {
cli_error_print("Could not get number of ports");
return (count);
}
@@ -307,7 +307,7 @@ OPTION_CALLBACK(list_ports) {
} else
printf("%i\n", count);
for(x=0; x<count; x++) {
- gp_port_get_info(x, &info);
+ gp_port_info_get(x, &info);
printf("%-32s %-32s\n",info.path,info.name);
}