/*
* This file is part of the sigrok project.
*
- * Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/* Avoid compiler warnings. */
(void)device_index;
- if (sr_device_list() != NULL)
+ if (sr_dev_list() != NULL)
return SR_OK;
else
return SR_ERR;