]> sigrok.org Git - libsigrok.git/blobdiff - session_driver.c
sr: adjust copyright year
[libsigrok.git] / session_driver.c
index 7ca8d353a4955de1b30bc5a209a651e918f651cb..f1c01918222e6827d1f14bd7529d5a5f4be9551b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * 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
@@ -214,7 +214,7 @@ static int hw_get_status(int device_index)
        /* Avoid compiler warnings. */
        (void)device_index;
 
-       if (sr_device_list() != NULL)
+       if (sr_dev_list() != NULL)
                return SR_OK;
        else
                return SR_ERR;