Navigation Menu

Skip to content

Commit

Permalink
Fix typo which would have caused issues with the meego devicelock, bu…
Browse files Browse the repository at this point in the history
…mp version

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Jan 17, 2013
1 parent 7f05c41 commit b383aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,4 +1,4 @@
AC_INIT([usb_moded], [0.56])
AC_INIT([usb_moded], [0.57])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])

AM_CONFIG_HEADER([config.h])
Expand Down
2 changes: 1 addition & 1 deletion src/usb_moded.c
Expand Up @@ -181,7 +181,7 @@ void set_usb_connected_state(void)
#ifdef MEEGOLOCK
int act_dead = 0;
/* check if we are in acting dead or not, /tmp/USER will not exist in acting dead */
act_dead = accesa("/tmp/USER", R_OK);
act_dead = access("/tmp/USER", R_OK);
if(mode_to_set && !export && !act_dead)
#else
if(mode_to_set)
Expand Down

0 comments on commit b383aa0

Please sign in to comment.