diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
commit | 4fdcc5c18044f7af0e4d892819e202090199bc4b (patch) | |
tree | d13512b25cf373d606ea059eae4f836085f3a99e /gtk/capture_if_dlg.c | |
parent | f2008e4dd388076f50caa024d1900afa2116b7b9 (diff) |
Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64
as an argument, along the lines of ws_fstat64, and, on Windows, make it
use _wstati64, to handle 64-bit file sizes.
svn path=/trunk/; revision=36547
Diffstat (limited to 'gtk/capture_if_dlg.c')
-rw-r--r-- | gtk/capture_if_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/capture_if_dlg.c b/gtk/capture_if_dlg.c index eba82c5b96..ad42805f80 100644 --- a/gtk/capture_if_dlg.c +++ b/gtk/capture_if_dlg.c @@ -389,12 +389,12 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_) /* * Look for /sys/class/net/{device}/wireless. */ - struct stat statb; + ws_statb64 statb; char *wireless_path; wireless_path = g_strdup_printf("/sys/class/net/%s/wireless", if_info->name); if (wireless_path != NULL) { - if (ws_stat(wireless_path, &statb) == 0) { + if (ws_stat64(wireless_path, &statb) == 0) { g_free(wireless_path); return pixbuf_to_widget(network_wireless_pb_data); } |