diff options
author | bland <bland@FreeBSD.org> | 2005-05-01 21:25:05 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2005-05-01 21:25:05 +0800 |
commit | 390e903106d996e4a780fb14f42e7662716fb55e (patch) | |
tree | 7fe5162df32cd48b0fbf786c8a21ac3e0cbe3058 /palm/gnome-pilot | |
parent | 06a9e2fb13bf13610a92315d76e36ee1626bef26 (diff) | |
download | freebsd-ports-gnome-390e903106d996e4a780fb14f42e7662716fb55e.tar.gz freebsd-ports-gnome-390e903106d996e4a780fb14f42e7662716fb55e.tar.zst freebsd-ports-gnome-390e903106d996e4a780fb14f42e7662716fb55e.zip |
Fix C99-ism.
PR: 80502
Reported by: Stacey Roberts <stacey@vickiandstacey.com>
Diffstat (limited to 'palm/gnome-pilot')
-rw-r--r-- | palm/gnome-pilot/files/patch-gpilotd__gpilotd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/palm/gnome-pilot/files/patch-gpilotd__gpilotd.c b/palm/gnome-pilot/files/patch-gpilotd__gpilotd.c index b856f0a4af69..5af6804f7117 100644 --- a/palm/gnome-pilot/files/patch-gpilotd__gpilotd.c +++ b/palm/gnome-pilot/files/patch-gpilotd__gpilotd.c @@ -39,10 +39,10 @@ + + l = context->devices; + while (l) { -+ device = l->data; -+ + struct stat dummy; + ++ device = l->data; ++ + /* Make sure usb device exists */ + if (stat(device->port, &dummy) == 0) { + if (device->type == PILOT_DEVICE_USB_VISOR) { |